
:root{--ink:#0d3035;--teal:#4a7272;--muted:#d0d6d6;--accent:#86b9b2;}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Tahoma,"Segoe UI",Arial,sans-serif;}
.portfolio-page-header{position:sticky;top:0;z-index:20;padding:16px 24px;background:#fff}.portfolio-page-header__bar{height:64px;border-radius:20px;background:#e7ebeb;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.portfolio-page-header__home{color:var(--teal);text-decoration:none;font-weight:700;font-size:14px}.portfolio-page-header__mark{width:30px;height:30px;object-fit:contain}
.portfolio-page-main{min-height:calc(100vh - 96px);display:grid;place-items:center;padding:70px 28px 100px}.portfolio-project{width:min(980px,100%);display:grid;grid-template-columns:320px 1fr;gap:72px;align-items:center;direction:rtl}.portfolio-project__visual{min-height:320px;display:grid;place-items:center;background:#f8f9f9;border-radius:28px;padding:42px}.portfolio-project__visual img{max-width:100%;max-height:230px;object-fit:contain}.portfolio-project__copy{text-align:right}.portfolio-project__kicker{display:block;color:var(--accent);letter-spacing:.22em;font-size:13px;font-weight:700;margin-bottom:14px}.portfolio-project__title{margin:0;color:var(--teal);font-size:clamp(42px,5vw,76px);line-height:1.05}.portfolio-project__en{margin:16px 0 0;color:var(--muted);font-size:clamp(22px,2.6vw,34px);font-weight:700;direction:ltr;text-align:right}.portfolio-project__note{margin:34px 0 0;color:#779090;font-size:16px;line-height:1.9;max-width:520px}.portfolio-project__back{display:inline-flex;margin-top:30px;color:#fff;background:var(--teal);text-decoration:none;padding:13px 22px;border-radius:14px;font-weight:700}.portfolio-project__back:hover{background:var(--accent)}
@media(max-width:760px){.portfolio-page-header{padding:12px}.portfolio-page-header__bar{height:58px;padding:0 18px}.portfolio-page-main{padding:42px 20px 70px}.portfolio-project{grid-template-columns:1fr;gap:30px}.portfolio-project__visual{min-height:230px;padding:30px}.portfolio-project__visual img{max-height:170px}.portfolio-project__copy{text-align:center}.portfolio-project__en{text-align:center}.portfolio-project__note{margin-inline:auto}.portfolio-project__title{font-size:40px}}


/* V79 — Bermor motion logo is the Home control on portfolio pages */
.portfolio-page-header__bar{justify-content:flex-start !important}
.portfolio-page-header__home,.portfolio-page-header__mark{display:none !important}
.bermor-home-motion{display:inline-flex;align-items:center;width:132px;height:40px;text-decoration:none;direction:ltr}
.bermor-home-motion__stage{position:relative;display:block;width:114px;height:24px}
.bermor-home-motion__full,.bermor-home-motion__anim{position:absolute;inset:0;width:114px;height:24px;object-fit:contain;object-position:left center}
.bermor-home-motion__full{z-index:1}.bermor-home-motion__anim{z-index:2}
@media(max-width:760px){.bermor-home-motion{width:112px}.bermor-home-motion__stage,.bermor-home-motion__full,.bermor-home-motion__anim{width:100px;height:22px}}


/* =========================================================
   V80 — unified Bermor glass header + home motion
   ========================================================= */
.portfolio-page-header{
  position:sticky !important;
  top:16px !important;
  z-index:1800 !important;
  padding:0 !important;
  margin:16px 24px 24px !important;
  background:transparent !important;
}
.portfolio-page-header__bar{
  width:100% !important;
  height:64px !important;
  padding:0 48px !important;
  border:0 !important;
  border-radius:20px !important;
  background:rgba(208,215,215,.50) !important;
  -webkit-backdrop-filter:blur(8px) saturate(108%) !important;
  backdrop-filter:blur(8px) saturate(108%) !important;
  box-shadow:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  direction:ltr !important;
}
.bermor-home-motion{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  width:105px !important;
  height:24px !important;
  margin:0 !important;
  direction:ltr !important;
}
.bermor-home-motion__stage,
.bermor-home-motion__full,
.bermor-home-motion__anim{
  width:105px !important;
  height:24px !important;
}
.bermor-home-motion__stage{position:relative !important;display:block !important}
.bermor-home-motion__full,
.bermor-home-motion__anim{
  position:absolute !important;
  inset:0 !important;
  object-fit:contain !important;
  object-position:right center !important;
  pointer-events:none !important;
}
.bermor-home-motion__full{z-index:1 !important}
.bermor-home-motion__anim{z-index:2 !important}
.bermor-home-motion:focus-visible{outline:2px solid rgba(74,114,114,.45);outline-offset:8px;border-radius:8px}
@media(max-width:760px){
  .portfolio-page-header{top:8px !important;margin:8px 12px 16px !important}
  .portfolio-page-header__bar{height:64px !important;padding:0 24px !important}
  .bermor-home-motion,.bermor-home-motion__stage,.bermor-home-motion__full,.bermor-home-motion__anim{width:105px !important;height:24px !important}
}
