/* Copyright 2026 HomeOne Interiors. All rights reserved. */

.ph-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.ph-bg { position: absolute; inset: 0; z-index: 0; }
.ph-bg-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06); transition: transform 14s ease;
  will-change: transform;
}
.ph-hero:hover .ph-bg-img { transform: scale(1.03); }
.ph-overlay-1 { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6,13,26,.96) 0%, rgba(6,13,26,.72) 100%); }
.ph-overlay-2 { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,13,26,1) 0%, transparent 55%); }
.ph-overlay-3 { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,13,26,.7) 0%, transparent 55%); }
.ph-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px; opacity: .5;
}
.ph-beam {
  position: absolute; top: 0; left: 22%; width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(26,107,218,.28) 40%, rgba(26,107,218,.1) 70%, transparent 100%);
  animation: beamMove 8s ease-in-out infinite alternate; z-index: 1; pointer-events: none;
}
@keyframes beamMove { from { left: 20%; opacity: .6; } to { left: 24%; opacity: .3; } }
.ph-scan {
  position: absolute; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(26,107,218,.18) 30%, rgba(91,154,255,.3) 50%, rgba(26,107,218,.18) 70%, transparent 100%);
  animation: scanDown 6s linear infinite; z-index: 2; pointer-events: none;
}
@keyframes scanDown { from { top: -2px; } to { top: 100%; } }
.ph-ghost-yr {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  font-family: var(--fh); font-size: clamp(7rem, 18vw, 20rem); font-weight: 800;
  color: transparent; -webkit-text-stroke: 1px rgba(26,107,218,.1);
  letter-spacing: .08em; pointer-events: none; user-select: none; z-index: 1; line-height: 1;
}
.ph-frame { position: absolute; inset: 24px; pointer-events: none; z-index: 2; }
.ph-corner { position: absolute; width: 32px; height: 32px; }
.ph-corner::before,.ph-corner::after { content: ''; position: absolute; background: rgba(26,107,218,.4); }
.ph-corner::before { width: 100%; height: 1px; }
.ph-corner::after  { width: 1px; height: 100%; }
.ph-corner-tl { top: 0; left: 0; }
.ph-corner-tr { top: 0; right: 0; transform: scaleX(-1); }
.ph-corner-bl { bottom: 0; left: 0; transform: scaleY(-1); }
.ph-corner-br { bottom: 0; right: 0; transform: scale(-1); }
.ph-scroll-cue { position: absolute; bottom: 90px; right: 44px; z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ph-scroll-line { width: 1px; height: 72px; background: linear-gradient(to bottom, rgba(26,107,218,.9), transparent); animation: phScrollPulse 2.8s ease-in-out infinite; }
@keyframes phScrollPulse { 0%,100%{ transform: scaleY(.2); transform-origin: top; opacity: .3; } 50%{ transform: scaleY(1); transform-origin: top; opacity: 1; } }
.ph-scroll-label { font-size: 9px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: rgba(26,107,218,.55); writing-mode: vertical-rl; }

.ph-content {
  position: relative; z-index: 5;
  padding-top: 130px; padding-bottom: 80px;
  max-width: 680px;
}
.ph-eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--fb); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bl); margin-bottom: 20px; }
.ph-eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.ph-h1 { font-family: var(--fh); font-size: clamp(2.2rem, 4.5vw, 4.6rem); font-weight: 700; line-height: 1.1; margin-bottom: 28px; overflow: hidden; }
.ph-h1-row { display: block; overflow: hidden; }
.ph-h1-inner { display: block; animation: slideUp .9s cubic-bezier(.16,1,.3,1) both; }
.ph-h1-row:nth-child(2) .ph-h1-inner { animation-delay: .1s; }
.ph-h1-row:nth-child(3) .ph-h1-inner { animation-delay: .2s; }
@keyframes slideUp { from { transform: translateY(110%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ph-h1-blue { color: var(--blue); }

.ph-article-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.ph-article-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--fb); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); background: rgba(26,107,218,.12); border: 1px solid rgba(26,107,218,.28);
  padding: 6px 14px;
}
.ph-article-chip i { color: var(--bl); font-size: .7rem; }

.ph-desc { font-family: var(--fb); font-size: 1rem; color: var(--mute); line-height: 1.72; max-width: 560px; }

.ph-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 6;
  border-top: 1px solid var(--line); backdrop-filter: blur(6px);
  background: linear-gradient(180deg, transparent 0%, rgba(6,13,26,.88) 100%);
}
.ph-bottom-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.ph-bottom-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.ph-bstat { display: flex; flex-direction: column; gap: 2px; }
.ph-bstat strong { font-family: var(--fh); font-size: .85rem; font-weight: 700; color: var(--white); }
.ph-bstat span { font-family: var(--fb); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

.bp-meta-bar {
  background: var(--bg3);
  border-top: 2px solid var(--blue);
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 10;
}
.bp-meta-inner {
  display: flex; align-items: stretch; justify-content: space-between;
  min-height: 72px;
}
.bp-meta-left { display: flex; align-items: center; flex: 1; min-width: 0; }

.bp-meta-author {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 28px 14px 0;
  border-right: 1px solid var(--line);
  margin-right: 28px; flex-shrink: 0;
}
.bp-meta-avatar {
  width: 40px; height: 40px; background: var(--blue); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: .78rem; font-weight: 800;
  color: #fff; letter-spacing: -.01em;
  position: relative;
}
.bp-meta-avatar::after {
  content: ''; position: absolute; inset: -3px;
  border: 1px solid rgba(26,107,218,.35);
  pointer-events: none;
}
.bp-meta-author-name {
  display: block; font-family: var(--fh); font-size: .88rem; font-weight: 700;
  color: var(--white); line-height: 1.1;
}
.bp-meta-author-role {
  display: block; font-family: var(--fb); font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--mute); margin-top: 3px;
}

.bp-meta-items { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bp-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--fb); font-size: .76rem; color: var(--mute);
}
.bp-meta-item i { color: var(--blue); font-size: .68rem; }
.bp-meta-dot {
  width: 3px; height: 3px; border-radius: 50%; background: rgba(26,107,218,.35);
  flex-shrink: 0;
}
.bp-meta-cat {
  font-family: var(--fb); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; background: var(--blue); padding: 4px 11px; flex-shrink: 0;
}

.bp-back-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--fb); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mute); text-decoration: none; transition: color .22s; white-space: nowrap; flex-shrink: 0;
  border-left: 1px solid var(--line); padding-left: 28px; margin-left: 20px;
  align-self: stretch; padding-top: 14px; padding-right: 0;
}
.bp-back-link:hover { color: var(--white); }
.bp-back-link i { font-size: .6rem; transition: transform .2s; }
.bp-back-link:hover i { transform: translateX(-3px); }

.bp-share-float {
  position: fixed; left: 18px; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.bp-share-float.bp-share-visible { opacity: 1; pointer-events: auto; }
.bp-share-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border: 1px solid var(--line);
  color: var(--mute); text-decoration: none;
  transition: all .22s; position: relative;
}
.bp-share-btn:hover { color: var(--white); border-color: var(--blue); background: rgba(26,107,218,.12); }
.bp-share-btn[data-bp-share="wa"]:hover { border-color: #25d366; background: rgba(37,211,102,.1); color: #25d366; }
.bp-share-btn[data-bp-share="fb"]:hover { border-color: #1877f2; background: rgba(24,119,242,.1); color: #1877f2; }
.bp-share-btn i { font-size: .85rem; }
.bp-copy-label {
  position: absolute; left: 46px; white-space: nowrap;
  font-family: var(--fb); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--bg3); border: 1px solid var(--line); color: var(--white);
  padding: 5px 10px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.bp-share-btn:focus .bp-copy-label,
.bp-share-btn.bp-copied .bp-copy-label { opacity: 1; }

.bp-body-wrap {
  background: var(--bg);
  padding: 72px 0 80px;
}
.bp-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: start;
}

.bp-content { min-width: 0; }

.bp-article-lead {
  font-family: var(--fb); font-size: 1.1rem; color: var(--mute); line-height: 1.8;
  border-left: 2px solid var(--blue); padding-left: 20px; margin-bottom: 40px;
}

.bp-h2 {
  font-family: var(--fh); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 700;
  color: var(--white); line-height: 1.25; margin-top: 48px; margin-bottom: 16px;
  padding-top: 6px; border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.bp-h3 {
  font-family: var(--fh); font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600;
  color: var(--white); line-height: 1.3; margin-top: 28px; margin-bottom: 12px;
  scroll-margin-top: 100px;
}
.bp-p {
  font-family: var(--fb); font-size: .97rem; color: var(--mute); line-height: 1.8;
  margin-bottom: 18px;
}
.bp-list {
  list-style: none; padding: 0; margin-bottom: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.bp-list li {
  font-family: var(--fb); font-size: .95rem; color: var(--mute); line-height: 1.7;
  padding-left: 20px; position: relative;
}
.bp-list li::before {
  content: ''; position: absolute; left: 0; top: .65em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}
.bp-tip {
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(26,107,218,.08); border-left: 2px solid var(--blue);
  padding: 16px 20px; margin: 24px 0;
}
.bp-tip i { color: var(--blue); margin-top: 3px; flex-shrink: 0; }
.bp-tip p { font-family: var(--fb); font-size: .9rem; color: var(--mute); line-height: 1.7; margin: 0; }
.bp-stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  background: var(--bg3); border: 1px solid var(--line); padding: 24px;
  margin: 28px 0;
}
.bp-stat-item { text-align: center; }
.bp-stat-item strong { display: block; font-family: var(--fh); font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.bp-stat-item span { font-family: var(--fb); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

.bp-sidebar {
  position: sticky; top: 84px;
  height: fit-content; max-height: calc(100vh - 104px); overflow-y: auto;
}
.bp-toc {
  background: var(--bg3); border: 1px solid var(--line); padding: 24px;
}
.bp-toc-hd {
  font-family: var(--fb); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 18px; display: flex; align-items: center; gap: 8px;
}
.bp-toc-hd::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.bp-toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.bp-toc-link {
  font-family: var(--fb); font-size: .82rem; color: var(--mute); text-decoration: none;
  display: block; padding: 5px 0 5px 14px; border-left: 2px solid transparent;
  line-height: 1.45; transition: all .2s;
}
.bp-toc-link:hover { color: var(--white); border-left-color: rgba(26,107,218,.4); }
.bp-toc-link--active { color: var(--white); border-left-color: var(--blue); }

.bp-toc-cta {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
}
.bp-toc-cta a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--fb); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); background: var(--blue); padding: 11px 16px; text-decoration: none;
  transition: background .2s;
}
.bp-toc-cta a:hover { background: #1558b8; }
.bp-toc-cta a i { font-size: .65rem; }

.bp-faq {
  background: var(--bg2);
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.bp-faq-inner { max-width: 800px; margin: 0 auto; }
.bp-faq-hd { margin-bottom: 40px; }
.bp-faq-hd .eyebrow { margin-bottom: 10px; }
.bp-faq-hd h2 { font-family: var(--fh); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; color: var(--white); }
.bp-faq-hd h2 em { color: var(--blue); font-style: normal; }

.bp-related {
  background: var(--bg);
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.bp-related-hd { margin-bottom: 36px; }
.bp-related-hd .eyebrow { margin-bottom: 8px; }
.bp-related-hd h2 { font-family: var(--fh); font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 700; color: var(--white); }
.bp-related-hd h2 em { color: var(--blue); font-style: normal; }
.bp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.bp-related-card {
  background: var(--bg3); border: 1px solid var(--line);
  transition: border-color .3s, transform .25s; will-change: transform;
}
.bp-related-card:hover { border-color: rgba(26,107,218,.38); }
.bp-related-card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.bp-related-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,13,26,.4), transparent 55%); }
.bp-related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.bp-related-card:hover .bp-related-card-img img { transform: scale(1.05); }
.bp-related-card-cat { position: absolute; bottom: 10px; left: 10px; z-index: 2; font-family: var(--fb); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 3px 8px; }
.bp-related-card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.bp-related-card-title { font-family: var(--fh); font-size: .95rem; font-weight: 600; color: var(--white); line-height: 1.4; }
.bp-related-card-title a { color: inherit; text-decoration: none; transition: color .2s; }
.bp-related-card-title a:hover { color: var(--bl); }
.bp-related-card-meta { display: flex; align-items: center; justify-content: space-between; }
.bp-related-card-time { font-family: var(--fb); font-size: .7rem; color: var(--mute); display: flex; align-items: center; gap: 6px; }
.bp-related-card-time i { color: var(--blue); font-size: .62rem; }
.bp-related-card-link { font-family: var(--fb); font-size: .7rem; color: var(--blue); text-decoration: none; display: flex; align-items: center; gap: 5px; transition: gap .2s; }
.bp-related-card-link:hover { gap: 9px; color: var(--bl); }
.bp-related-card-link i { font-size: .6rem; }

.faq-list { display: flex; flex-direction: column; gap: 6px; }
.faq-item { border: 1px solid var(--line); border-left: 2px solid transparent; transition: border-color .3s, background .3s; }
.faq-item.open { border-color: rgba(26,107,218,.35); border-left-color: var(--blue); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; background: transparent; border: none; cursor: pointer;
  font-family: var(--fb); font-size: 14.5px; font-weight: 600;
  color: var(--white); text-align: left; gap: 16px; transition: color .2s;
}
.faq-q:hover { color: var(--bl); }
.faq-icon { color: var(--blue); font-size: 12px; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 22px 18px; font-size: 13.5px; color: var(--mute); line-height: 1.75; }
.faq-a-inner a { color: var(--blue); transition: opacity .2s; }
.faq-a-inner a:hover { opacity: .75; }
.faq-item.open .faq-a { max-height: 600px; }

.bp-sidebar::-webkit-scrollbar { width: 3px; }
.bp-sidebar::-webkit-scrollbar-track { background: transparent; }
.bp-sidebar::-webkit-scrollbar-thumb { background: rgba(26,107,218,.25); }
.bp-sidebar::-webkit-scrollbar-thumb:hover { background: var(--blue); }

@media (max-width: 1024px) {
  .bp-layout { grid-template-columns: 1fr 250px; gap: 44px; }
  .bp-share-float { display: none; }
  .bp-related-grid { grid-template-columns: repeat(2, 1fr); }
  .bp-related-grid .bp-related-card:last-child { display: none; }
}
@media (max-width: 768px) {
  .bp-layout { grid-template-columns: 1fr; }
  .bp-sidebar { display: none; }
  .bp-share-float { display: none; }
  .bp-stat-row { grid-template-columns: 1fr 1fr; }
  .bp-related-grid { grid-template-columns: 1fr; }
  .bp-related-grid .bp-related-card:last-child { display: flex; }
  .bp-body-wrap { padding: 48px 0 56px; }
  .bp-faq, .bp-related { padding: 48px 0; }
  .bp-meta-author { padding-right: 18px; margin-right: 18px; }
  .bp-meta-items { gap: 8px; }
}
@media (max-width: 500px) {
  .bp-h2 { font-size: clamp(1.1rem, 5vw, 1.3rem); }
  .bp-stat-row { grid-template-columns: 1fr; }
  .bp-meta-author-role { display: none; }
  .bp-meta-dot { display: none; }
}
