/* Intent-specific entry bands are hidden on an ordinary homepage visit. */
:root {
  --entry-bg:#101b21; --entry-card:#1c2c34; --entry-ink:#f5f8f9;
  --entry-muted:#c6d4db; --entry-accent:#9ad7cf; --entry-line:#536c78;
  --entry-hover:#263c46; --entry-offset:156px;
}
html[data-theme="light"] {
  --entry-bg:#f0f6f7; --entry-card:#ffffff; --entry-ink:#182b32;
  --entry-muted:#435963; --entry-accent:#14616b; --entry-line:#aebfc5;
  --entry-hover:#e8f3f4;
}
html[data-theme="solar"] { --entry-bg:#231e17; --entry-card:#332a20; --entry-hover:#433729; --entry-accent:#f6cf91; --entry-line:#927c60; }
html[data-theme="midnight"] { --entry-bg:#121d2a; --entry-card:#213144; --entry-hover:#2a3f55; --entry-accent:#a6d1f5; --entry-line:#72869b; }
html[data-theme="nebula"] { --entry-bg:#211a2b; --entry-card:#31253f; --entry-hover:#403150; --entry-accent:#d8b6f6; --entry-line:#8c789c; }
html[data-theme="emerald"] { --entry-bg:#14271f; --entry-card:#22392e; --entry-hover:#2d4a3b; --entry-accent:#a4ddb5; --entry-line:#6f937e; }
html[data-theme="crimson"] { --entry-bg:#291c20; --entry-card:#3d2a30; --entry-hover:#51363d; --entry-accent:#f6b9b1; --entry-line:#a0828a; }
.project-entry-host { display:contents; }
html body[data-home-light-surfaces] .project-entry-host > .project-entry {
  display:none; position:relative; isolation:isolate; padding:32px 24px 40px!important;
  margin:0; background:var(--entry-bg)!important; color:var(--entry-ink)!important;
  border-bottom:1px solid var(--entry-line); border-radius:0; box-shadow:none;
  scroll-margin-top:var(--entry-offset);
}
html body[data-home-light-surfaces] .project-entry-host > .project-entry:target { display:block; }
.project-entry .entry-inner { width:min(1180px,100%); margin-inline:auto; }
html body .project-entry :is(h2,p,span,a) {
  letter-spacing:0!important; text-shadow:none!important; -webkit-text-fill-color:currentColor!important;
}
html body .project-entry .entry-back {
  display:inline-flex; align-items:center; min-height:44px; padding:8px 0; margin-bottom:12px;
  font-size:12px; line-height:1.5; font-weight:600; color:var(--entry-muted)!important;
  text-decoration:underline; text-underline-offset:4px;
}
html body .project-entry .entry-heading { max-width:760px; margin-bottom:26px; }
html body .project-entry .entry-kicker {
  margin:0 0 10px; color:var(--entry-accent)!important; font-size:12px; font-weight:750; line-height:1.5;
}
html body .project-entry h2 { margin:0 0 14px; font-size:36px; line-height:1.2; font-weight:750; color:var(--entry-ink)!important; }
html body .project-entry .entry-intro { margin:0; font-size:16px; line-height:1.65; color:var(--entry-muted)!important; }
.project-entry .entry-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
html body .project-entry .entry-card {
  display:flex; flex-direction:column; min-width:0; position:relative; overflow:hidden;
  background:var(--entry-card)!important; color:var(--entry-ink)!important; border:1px solid var(--entry-line);
  border-radius:6px; text-decoration:none!important; box-shadow:0 5px 18px #00000012;
  transform:none!important; transition:background-color 180ms ease,border-color 180ms ease,box-shadow 180ms ease;
}
.project-entry .entry-media { display:block; overflow:hidden; aspect-ratio:16/7; background:var(--entry-card); flex:none; }
html body .project-entry .entry-media img {
  display:block; position:static; width:100%; height:100%; object-fit:cover;
  opacity:1!important; filter:none!important; transform:none!important; mix-blend-mode:normal!important;
}
html body .project-entry .entry-media .entry-light-art { display:none; }
html[data-theme="light"] body .project-entry .entry-media .entry-light-art { display:block; }
html[data-theme="light"] body .project-entry .entry-media .entry-dark-art { display:none; }
.project-entry .entry-copy { display:flex; flex-direction:column; gap:12px; flex:1; padding:20px; }
html body .project-entry .entry-card-title { font-size:20px; font-weight:750; line-height:1.35; color:var(--entry-ink)!important; }
html body .project-entry .entry-description { font-size:14px; line-height:1.65; color:var(--entry-muted)!important; }
html body .project-entry .entry-action { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; padding-top:4px; font-size:13px; font-weight:700; line-height:1.5; color:var(--entry-accent)!important; }
.project-entry .entry-action > span { display:inline-block; transition:transform 180ms ease; }
html body .project-entry .entry-card:is(:hover,:focus-visible) { border-color:var(--entry-accent); background:var(--entry-hover)!important; box-shadow:0 10px 26px #00000025; }
.project-entry .entry-card:is(:hover,:focus-visible) .entry-action > span { transform:translateX(4px); }
.project-entry .entry-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px 28px; margin-top:24px; padding-top:16px; border-top:1px solid var(--entry-line); }
html body .project-entry .entry-bottom a { display:inline-flex; align-items:center; gap:12px; min-height:44px; font-size:13px; line-height:1.6; font-weight:600; color:var(--entry-accent)!important; text-decoration:underline; text-underline-offset:5px; }
html body .project-entry a:focus-visible { outline:3px solid var(--entry-accent)!important; outline-offset:4px; }
.project-entry:focus,#home-services:focus { outline:none; }
#home-services { scroll-margin-top:var(--entry-offset); }
html[data-entry-in-view] :is(.free-sample-popup,.home-sale-section) { display:none!important; visibility:hidden!important; pointer-events:none!important; }
@media (max-width:760px) {
  :root { --entry-offset:104px; }
  html body[data-home-light-surfaces] .project-entry-host > .project-entry { padding:20px 20px 28px!important; }
  html body .project-entry h2 { font-size:28px; }
  html body .project-entry .entry-intro { font-size:14px; }
  .project-entry .entry-grid { grid-template-columns:1fr; gap:12px; }
  html body .project-entry .entry-card { flex-direction:row; align-items:stretch; }
  .project-entry .entry-media { width:96px; height:80px; aspect-ratio:6/5; align-self:center; margin-left:16px; border-radius:3px; }
  html body .project-entry .entry-media img { object-fit:contain; }
  .project-entry .entry-copy { padding:16px; gap:8px; }
  html body .project-entry .entry-card-title { font-size:17px; }
  html body .project-entry .entry-description { font-size:13px; }
  html body .project-entry .entry-action { font-size:12px; }
}
@media (max-width:360px) {
  html body[data-home-light-surfaces] .project-entry-host > .project-entry { padding-inline:16px!important; }
  .project-entry .entry-media { width:64px; height:64px; margin-left:12px; }
  .project-entry .entry-copy { padding:14px; }
}
@media (prefers-reduced-motion:reduce) {
  .project-entry *,.project-entry *::before,.project-entry *::after { transition:none!important; animation:none!important; }
}
html[data-entry-motion="paused"] .project-entry * { transition:none!important; }
@media (forced-colors:active) {
  html body .project-entry .entry-card { border:1px solid CanvasText; }
}
