    :root{
      --pc-text:#2d2d2d;
      --pc-muted:#686868;
      --pc-blue:#2f91e8;
      --pc-soft:#f5f5f5;
      --pc-line:#ececec;
      --pc-nav:rgba(248,248,248,.78);
      --pc-max:1356px;
    }
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    body.pc-page{
      margin:0;
      background:#fff;
      color:var(--pc-text);
      font-family:Inter,Arial,Helvetica,sans-serif;
      line-height:1.55;
    }
    body.pc-page img{max-width:100%;display:block}
    body.pc-page a{text-decoration:none;color:inherit}

    /* Header matched to the About Us page */
    .pc-floating-nav{
      position:sticky;
      top:0;
      z-index:1000;
      width:100%;
      min-height:0;
      border:0;
      border-bottom:1px solid #e5e5e5;
      border-radius:0;
      background:rgba(255,255,255,.96);
      box-shadow:none;
      backdrop-filter:blur(14px);
      -webkit-backdrop-filter:blur(14px);
      padding:0;
      transform:none;
      left:auto;
    }
    .pc-header-wrap{
      width:min(1240px,calc(100% - 40px));
      margin:0 auto;
    }
    .pc-nav-grid{
      min-height:82px;
      display:flex;
      align-items:center;
      gap:16px;
    }
    .pc-brand{
      display:flex;
      align-items:center;
      min-width:170px;
    }
    .pc-brand img{
      width:150px;
      height:auto;
      max-height:none;
      object-fit:contain;
    }
    .pc-navlinks{

      display:flex;
      align-items:center;
      gap:14px;
      margin-left:auto;
      font-size:14px;
      font-weight:600;
      text-transform:uppercase;
      letter-spacing:.02em;
    }
    .pc-nav-link{
      display:block;
      text-align:center;
      color:#161616;
      font-size:14px;
      font-weight:600;
      line-height:1.55;
      letter-spacing:.02em;
      padding:28px 0;
      border-radius:0;
      border-bottom:2px solid transparent;
      white-space:nowrap;
    }
    .pc-nav-link span{display:inline}
    .pc-nav-link span+span::before{content:" "}
    .pc-nav-link:hover,
    .pc-nav-link.active{
      color:#c7232a;
      background:transparent;
      border-bottom-color:#c7232a;
    }
    .pc-lang{
      display:flex;
      gap:6px;
      margin-left:12px;
      flex-wrap:nowrap;
    }
    .pc-lang button{
      border:1px solid #ddd;
      background:#fff;
      border-radius:999px;
      padding:7px 10px;
      font-weight:700;
      font-size:12px;
      cursor:pointer;
    }
    .pc-lang button.active{
      background:#161616;
      color:#fff;
      border-color:#161616;
    }
    .pc-menu-btn{
      display:none;
      margin-left:auto;
      background:none;
      border:0;
      font-size:28px;
      cursor:pointer;
    }

    /* Project Cases listing page */
    /* Project Cases hero: show the entire original landscape photograph.
       Natural height prevents cover-cropping and horizontal layout drift. */
    .pc-cases-hero{
      width:100%;
      height:auto;
      overflow:hidden;
      background:#eee;
    }
    .pc-cases-hero img{
      display:block;
      width:100%;
      max-width:100%;
      height:auto;
      object-fit:contain;
      object-position:center;
    }
    .pc-cases-wrap{
      width:min(var(--pc-max),calc(100% - 48px));
      margin:0 auto;
    }
    .pc-cases-grid{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:44px 46px;
      padding:26px 0 84px;
    }
    .pc-case-card{
      min-height:306px;
      display:grid;
      grid-template-columns:46% 54%;
      background:#fff;
      border-radius:10px;
      overflow:hidden;
      box-shadow:0 5px 20px rgba(0,0,0,.055);
    }
    .pc-case-card img{
      width:100%;
      height:100%;
      min-height:306px;
      object-fit:cover;
    }
    .pc-card-copy{
      padding:28px 30px 26px;
      display:flex;
      flex-direction:column;
      align-items:flex-start;
    }
    .pc-card-copy h2{
      font-size:27px;
      line-height:1.05;
      margin:0 0 20px;
      font-weight:750;
      letter-spacing:-.02em;
    }
    .pc-card-copy p{
      margin:0;
      color:#6a6a6a;
      font-size:18px;
      line-height:1.55;
    }
    .pc-details-link{
      margin-top:auto;
      color:#1678cf!important;
      font-size:17px;
      font-weight:500;
      padding-top:18px;
    }
    .pc-details-link:hover{transform:translateX(2px)}


    /* Detail page hero */
    .pc-detail-top{
      padding:92px 0 54px;
      text-align:center;
    }
    .pc-detail-top h1{
      width:min(1180px,calc(100% - 48px));
      margin:0 auto 30px;
      font-size:clamp(42px,4.8vw,68px);
      line-height:1.03;
      letter-spacing:-.035em;
      font-weight:720;
    }
    .pc-view-more{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-width:295px;
      min-height:52px;
      padding:12px 30px;
      border-radius:999px;
      color:#fff!important;
      background:#69aef0;
      box-shadow:0 8px 18px rgba(66,143,220,.25);
      font-size:20px;
      letter-spacing:.07em;
      text-transform:uppercase;
    }
    .pc-detail-hero-image{
      width:min(1266px,calc(100% - 96px));
      margin:46px auto 108px;
      border-radius:28px;
      overflow:hidden;
    }
    .pc-detail-hero-image img{
      width:100%;
      height:min(540px,45vw);
      min-height:390px;
      object-fit:cover;
    }

    /* Reference-style information block */
    .pc-info{
      width:min(var(--pc-max),calc(100% - 108px));
      margin:0 auto 34px;
      scroll-margin-top:188px;
    }
    .pc-info h2{
      color:#717171;
      margin:0 0 34px;
      font-size:clamp(45px,5.1vw,68px);
      line-height:1.08;
      letter-spacing:-.025em;
      font-weight:700;
    }
    .pc-status{
      background:#f1f1f1;
      color:#111;
      font-family:Georgia,'Times New Roman',serif;
      font-size:clamp(25px,2.5vw,36px);
      line-height:1.15;


      padding:4px 0 2px;
      margin-bottom:2px;
    }
    .pc-info-label{
      margin:0 0 30px;
      color:#5c5c5c;
      font-size:22px;
      font-weight:700;
      text-transform:uppercase;
    }
    .pc-facts{
      display:grid;
      gap:26px;
      margin-bottom:34px;
    }
    .pc-fact{
      margin:0;
      font-size:19px;
      color:#585858;
      font-weight:600;
    }
    .pc-fact strong{color:#555}

    /* Full-width vertical gallery */
    .pc-gallery{
      width:min(var(--pc-max),calc(100% - 108px));
      margin:0 auto 120px;
    }
    .pc-gallery figure{
      margin:0 0 24px;
      overflow:hidden;
      border-radius:7px;
      background:#f2f2f2;
    }
    .pc-gallery img{
      width:100%;
      height:auto;
      min-height:540px;
      max-height:820px;
      object-fit:cover;
    }
    .pc-gallery figcaption{
      text-align:center;
      font-size:17px;
      margin:12px 0 28px;
      color:#4c4c4c;
    }

    /* Light rounded reference-style footer with Domy z Chin identity */
    .pc-footer-shell{
      width:calc(100% - 48px);
      margin:0 auto 20px;
      border-radius:28px;
      background:#f6f6f6;
      overflow:hidden;
    }
    .pc-footer{
      width:min(1260px,calc(100% - 70px));
      margin:auto;
      padding:48px 0 32px;
    }
    .pc-footer-grid{


      display:grid;
      grid-template-columns:1.05fr .65fr 1.2fr;
      gap:56px;
      align-items:start;
    }
    .pc-footer-logo{width:125px;height:auto;margin-bottom:110px}
    .pc-footer-socials{display:flex;gap:12px;flex-wrap:wrap}
    .pc-footer-socials a{
      width:30px;height:30px;border-radius:50%;
      background:#d0d0d0;color:#fff!important;
      display:inline-flex;align-items:center;justify-content:center;
      font-size:12px;font-weight:800;
    }
    .pc-footer-title{
      font-size:16px;
      margin:0 0 18px;
      font-weight:600;
    }
    .pc-footer-title:before{
      content:"";
      display:block;
      width:20px;
      border-top:2px solid #69c4e8;
      margin-bottom:18px;
    }
    .pc-footer-links a{
      display:block;
      margin:0 0 18px;
      font-size:16px;
    }
    .pc-footer-contact p{margin:0 0 15px;color:#686868}
    .pc-signup{
      margin-top:38px;
      display:flex;
      justify-content:flex-end;
      gap:6px;
    }
    .pc-signup input{
      min-width:180px;
      height:48px;
      padding:0 12px;
      border:1px solid #d6d6d6;
      border-radius:6px;
      background:#fff;
    }
    .pc-signup button{
      height:48px;
      padding:0 18px;
      border:0;border-radius:6px;
      background:#090909;color:#fff;
      font-weight:700;
    }
    .pc-footer-fine{
      width:min(1260px,calc(100% - 70px));
      margin:0 auto;
      padding:0 0 18px;
      display:flex;
      justify-content:space-between;
      gap:24px;
      color:#777;
      font-size:13px;
    }


    /* Tablet/mobile */
    @media(max-width:1100px){
      .pc-header-wrap{width:min(1240px,calc(100% - 28px))}
      .pc-nav-grid{gap:22px}
      .pc-brand{min-width:170px}
      .pc-brand img{width:138px}
      .pc-navlinks{gap:20px;font-size:13px}
      .pc-nav-link{font-size:13px}
      /* Hero uses the original image aspect ratio at this size. */
      .pc-case-card{grid-template-columns:44% 56%}
      .pc-card-copy h2{font-size:23px}
      .pc-card-copy p{font-size:16px}
    }
    @media(max-width:980px){
      .pc-nav-grid{min-height:70px}
      .pc-brand{min-width:0}
      .pc-brand img{width:130px}
      .pc-navlinks{
        display:none;
        position:absolute;
        top:70px;
        left:0;
        right:0;
        background:#fff;
        border-bottom:1px solid #e5e5e5;
        padding:20px;
        flex-direction:column;
        align-items:flex-start;
        gap:4px;
        margin-left:0;
      }
      .pc-menu-btn{display:block}
      .pc-floating-nav.open .pc-navlinks{display:flex}
      .pc-nav-link{padding:10px 0}
      .pc-lang{margin-left:0;padding-top:8px}
      /* Hero uses the original image aspect ratio at this size. */
      .pc-cases-grid{grid-template-columns:1fr;gap:26px}
      .pc-detail-top{padding-top:64px}
      .pc-detail-top h1{font-size:44px}
      .pc-detail-hero-image{width:calc(100% - 42px);margin-bottom:72px}
      .pc-detail-hero-image img{height:52vw;min-height:300px}
      .pc-info,.pc-gallery{width:calc(100% - 42px)}
      .pc-gallery img{min-height:360px}
      .pc-footer-grid{grid-template-columns:1fr;gap:30px}
      .pc-footer-logo{margin-bottom:22px}
      .pc-signup{justify-content:flex-start}
      .pc-footer-fine{flex-direction:column}
    }
    @media(max-width:640px){
      .pc-nav-grid{min-height:64px}
      .pc-navlinks{top:64px}
      .pc-brand img{width:112px}
      /* Hero uses the original image aspect ratio at this size. */
      .pc-cases-wrap{width:calc(100% - 26px)}
      .pc-case-card{grid-template-columns:1fr}
      .pc-case-card img{min-height:260px;height:260px}
      .pc-card-copy{min-height:260px}
      .pc-detail-top{padding-top:52px}
      .pc-detail-top h1{font-size:36px}
      .pc-view-more{min-width:220px;font-size:17px}
      .pc-detail-hero-image{margin-top:34px}


      .pc-info h2{font-size:38px}
      .pc-status{font-size:24px}
      .pc-gallery img{min-height:250px}
      .pc-footer-shell{width:calc(100% - 20px)}
      .pc-footer,.pc-footer-fine{width:calc(100% - 34px)}
    }

/* Navigation measured against the About Us header (index.html / styles.css).
   Desktop baseline preserves its logo, link fonts, border and button sizing.
   Long Spanish/Polish labels get room without affecting the hero photo. */
@media (min-width: 981px) {
  .pc-header-wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
  .pc-nav-grid { min-height: 82px; display: flex; align-items: center; gap: 30px; }
  .pc-brand { display: flex; align-items: center; min-width: 220px; flex: 0 0 220px; }
  .pc-brand img { width: 150px; height: auto; }
  .pc-navlinks {
    display: flex;
    flex: 0 1 760px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    margin-left: 30px;
    margin-right: auto;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
  }
  .pc-nav-link {
    display: block;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 28px 0;
    white-space: nowrap;
  }
  .pc-lang { display: flex; flex: 0 0 auto; flex-wrap: nowrap; gap: 6px; margin-left: 12px; }
  .pc-lang button { padding: 7px 8px; font-size: 12px; }

  /* Spanish text is longer: free the space beside the logo without wrapping. */
  .pc-nav-grid:has(.pc-lang button[data-lang="es"].active) { gap: 12px; }
  .pc-nav-grid:has(.pc-lang button[data-lang="es"].active) .pc-brand { min-width: 160px; flex-basis: 160px; }
  .pc-navlinks:has(.pc-lang button[data-lang="es"].active) {
    flex: 0 1 868px; margin-left: 0; margin-right: auto; gap: 12px;
  }
  .pc-navlinks:has(.pc-lang button[data-lang="es"].active) .pc-nav-link { font-size: 13px; letter-spacing: 0; }
  .pc-navlinks:has(.pc-lang button[data-lang="es"].active) .pc-lang { margin-left: 0; }
  .pc-navlinks:has(.pc-lang button[data-lang="es"].active) .pc-lang button { font-size: 12px; padding: 7px 8px; }
  /* Polish headings also need extra space, retaining the About Us sizes. */
  .pc-navlinks:has(.pc-lang button[data-lang="pl"].active) {
    flex: 0 1 800px; margin-left: -10px; margin-right: auto;
  }
}
@media (min-width: 981px) and (max-width: 1100px) {
  /* Narrow desktop/tablet: keep the three language buttons on screen. */
  .pc-header-wrap { width: calc(100% - 28px); }
  .pc-nav-grid { gap: 10px; }
  .pc-brand { min-width: 118px; flex-basis: 118px; }
  .pc-brand img { width: 118px; }
  .pc-navlinks, .pc-navlinks:has(.pc-lang button[data-lang="pl"].active) {
    flex: 1 1 auto; margin-left: 0; margin-right: 0; gap: 7px;
  }
  .pc-nav-link { font-size: 12px; letter-spacing: 0; }
  .pc-lang { margin-left: 0; gap: 3px; }
  .pc-lang button { font-size: 11px; padding: 6px; }
  .pc-nav-grid:has(.pc-lang button[data-lang="es"].active) { gap: 8px; }
  .pc-nav-grid:has(.pc-lang button[data-lang="es"].active) .pc-brand { min-width: 108px; flex-basis: 108px; }
  .pc-navlinks:has(.pc-lang button[data-lang="es"].active) { gap: 5px; }
  .pc-navlinks:has(.pc-lang button[data-lang="es"].active) .pc-nav-link { font-size: 11.5px; }
  .pc-navlinks:has(.pc-lang button[data-lang="es"].active) .pc-lang button { font-size: 11px; padding: 6px; }
}
