/* 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: 640px;
}
.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.8rem, 5.5vw, 5.6rem); font-weight: 700; line-height: 1.06; 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: 520px; }

.ph-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 6;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent 0%, rgba(6,13,26,.88) 100%);
  backdrop-filter: blur(6px);
}
.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); }

.bl-feature {
  background: var(--bg2);
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.bl-feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.bl-feature-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fb); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bl); margin-bottom: 20px;
}
.bl-feature-label::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--blue);
}
.bl-feature-cat {
  display: inline-block; font-family: var(--fb); font-size: .6rem; letter-spacing: .16em;
  text-transform: uppercase; color: #fff; background: var(--blue); padding: 4px 10px; margin-bottom: 18px;
}
.bl-feature-title {
  font-family: var(--fh); font-size: clamp(1.6rem, 2.8vw, 2.8rem); font-weight: 700;
  color: var(--white); line-height: 1.18; margin-bottom: 20px;
}
.bl-feature-title a { color: inherit; text-decoration: none; transition: color .2s; }
.bl-feature-title a:hover { color: var(--bl); }
.bl-feature-excerpt {
  font-family: var(--fb); font-size: .95rem; color: var(--mute); line-height: 1.72;
  margin-bottom: 28px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-feature-meta { display: flex; align-items: center; gap: 18px; font-family: var(--fb); font-size: .75rem; color: var(--mute); margin-bottom: 28px; }
.bl-feature-meta i { color: var(--blue); font-size: .68rem; }
.bl-feature-meta-sep { color: var(--line); }
.bl-feature-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fb); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); text-decoration: none; padding: 13px 26px;
  background: rgba(26,107,218,.14); border: 1px solid rgba(26,107,218,.4);
  transition: all .28s;
}
.bl-feature-cta:hover { background: var(--blue); border-color: var(--blue); gap: 16px; }
.bl-feature-cta i { font-size: .72rem; transition: transform .28s; }
.bl-feature-cta:hover i { transform: translateX(4px); }

.bl-feature-media { position: relative; }
.bl-feature-img-wrap {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
}
.bl-feature-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(26,107,218,.2); pointer-events: none; z-index: 2;
}
.bl-feature-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease;
}
.bl-feature-img-wrap:hover .bl-feature-img { transform: scale(1.03); }
.bl-feature-counter {
  position: absolute; bottom: -16px; right: -16px; z-index: 3;
  background: var(--blue); padding: 14px 18px; text-align: center;
}
.bl-feature-counter strong { display: block; font-family: var(--fh); font-size: 1.4rem; font-weight: 700; color: #fff; line-height: 1; }
.bl-feature-counter span { font-family: var(--fb); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.75); }

.bl-articles {
  background: var(--bg);
  padding: 80px 0 72px;
}
.bl-articles-hd { margin-bottom: 40px; }
.bl-articles-hd-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 12px; }
.bl-articles-hd-row h2 { font-family: var(--fh); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; color: var(--white); }
.bl-articles-hd-row h2 em { color: var(--blue); font-style: normal; }
.bl-articles-count { font-family: var(--fb); font-size: .8rem; color: var(--mute); }

.bl-filter-row {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.bl-filter-tab {
  font-family: var(--fb); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mute); background: transparent; border: 1px solid transparent;
  padding: 6px 14px; cursor: pointer; transition: all .22s; white-space: nowrap;
}
.bl-filter-tab:hover { color: var(--white); border-color: var(--line); }
.bl-filter-tab.bl-tab-active { color: var(--white); border-color: var(--blue); background: rgba(26,107,218,.1); }

.bl-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 36px; margin-bottom: 52px;
}

.bl-card {
  display: flex; flex-direction: column;
  background: var(--bg3); border: 1px solid var(--line);
  transition: border-color .3s, transform .25s;
  will-change: transform;
}
.bl-card:hover { border-color: rgba(26,107,218,.38); }
.bl-card-img-wrap {
  position: relative; aspect-ratio: 16/9; overflow: hidden; flex-shrink: 0;
}
.bl-card-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,13,26,.45) 0%, transparent 55%);
  transition: opacity .3s;
}
.bl-card:hover .bl-card-img-wrap::after { opacity: .7; }
.bl-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.bl-card:hover .bl-card-img { transform: scale(1.05); }
.bl-card-cat {
  position: absolute; bottom: 12px; left: 12px; z-index: 2;
  font-family: var(--fb); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  color: #fff; background: var(--blue); padding: 3px 9px;
}
.bl-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bl-card-title {
  font-family: var(--fh); font-size: clamp(.95rem, 1.3vw, 1.1rem); font-weight: 600;
  color: var(--white); line-height: 1.4;
}
.bl-card-title a { color: inherit; text-decoration: none; transition: color .2s; }
.bl-card-title a:hover { color: var(--bl); }
.bl-card-excerpt {
  font-family: var(--fb); font-size: .85rem; color: var(--mute); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1;
}
.bl-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--line); margin-top: auto;
}
.bl-card-meta-left { display: flex; align-items: center; gap: 12px; font-family: var(--fb); font-size: .7rem; color: var(--mute); }
.bl-card-meta-left i { color: var(--blue); font-size: .62rem; }
.bl-card-read {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--fb); font-size: .7rem;
  font-weight: 600; color: var(--blue); text-decoration: none; letter-spacing: .05em;
  transition: gap .2s, color .2s;
}
.bl-card-read:hover { gap: 10px; color: var(--bl); }
.bl-card-read i { font-size: .6rem; }

.bl-card-hidden { display: none !important; }
.bl-empty { text-align: center; padding: 60px 20px; font-family: var(--fb); color: var(--mute); font-size: .95rem; display: none; }
.bl-empty.bl-empty-visible { display: block; }

.bl-pager { display: flex; align-items: center; justify-content: center; gap: 8px; }
.bl-pager-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--fb); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mute); text-decoration: none; padding: 10px 18px; border: 1px solid var(--line);
  transition: all .22s;
}
.bl-pager-btn:hover { color: var(--white); border-color: var(--blue); background: rgba(26,107,218,.08); }
.bl-pager-btn.bl-pager-active { color: var(--white); border-color: var(--blue); background: rgba(26,107,218,.14); pointer-events: none; }
.bl-pager-btn.bl-pager-disabled { opacity: .3; pointer-events: none; }

@media (max-width: 1024px) {
  .bl-feature-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
  .bl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .bl-feature { padding: 64px 0; }
  .bl-feature-inner { grid-template-columns: 1fr; gap: 36px; }
  .bl-feature-media { display: none; }
  .bl-feature-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .bl-articles { padding: 56px 0 48px; }
  .bl-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .bl-filter-row { gap: 5px; }
  .bl-filter-tab { font-size: .62rem; padding: 5px 10px; }
}
@media (max-width: 500px) {
  .ph-h1 { font-size: clamp(2.2rem, 8.5vw, 2.8rem); }
  .bl-pager { flex-wrap: wrap; gap: 6px; }
}
