.home-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(110deg, #fff5fa 0%, #fff5fa 15%, #fff 53%, #edf8ff 100%);
}
.home-stage {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.12fr);
  align-items: center; gap: clamp(20px, 3vw, 54px);
  min-height: clamp(520px, 43vw, 686px); padding-block: clamp(40px, 4vw, 64px);
}
.home-copy { position: relative; z-index: 1; }
.home-copy .cs-kicker { margin-bottom: clamp(18px, 2vw, 30px); }
.home-copy .cs-title { font-size: clamp(58px, 5.75vw, 91px); line-height: 1.02; text-wrap: initial; }
.home-copy .cs-title > span, .home-copy .cs-title > em { display: block; }
.home-copy .cs-title > em { margin-top: .02em; font-size: 1.025em; }
.home-copy .cs-lead { max-width: 41ch; }
.home-copy .cs-actions { margin-top: 28px; }
.home-copy .cs-text-link:hover > span { transform: translateY(3px); }
.home-showcase { position: relative; text-align: center; min-width: 0; }
.home-art-stage { position: relative; isolation: isolate; display: grid; align-items: center; aspect-ratio: 1.52; }
.home-art-orbit {
  position: absolute; z-index: -1; width: 86%; aspect-ratio: 1; left: 7%; top: 50%;
  transform: translateY(-50%); border-radius: 50%;
  border: 1px solid rgb(55 123 198 / .17);
  background: linear-gradient(155deg, rgb(223 242 255 / .8), rgb(255 229 240 / .38) 82%);
}
.home-art-orbit::before, .home-art-orbit::after {
  content: ''; position: absolute; inset: -5%; border: 1px solid rgb(55 123 198 / .15); border-radius: 50%;
}
.home-art-orbit::after { inset: 4%; border-color: rgb(255 255 255 / .85); }
.home-scene { position: relative; grid-area: 1/1; width: 100%; }
.home-scene img { width: 100%; height: auto; }
.home-scene-living, .home-scene-work, .home-scene-picker { display: none; }
@supports selector(:has(*)) {
  .home-scene-picker {
    position: relative; display: inline-flex; align-items: stretch; max-width: 100%;
    padding: 4px; margin: 10px auto 0; border: 1px solid rgb(20 45 67 / .14);
    border-radius: 999px; background: rgb(255 255 255 / .94); box-shadow: 0 4px 16px rgb(20 45 67 / .06);
  }
  .home-scene-picker label { position: relative; display: flex; min-width: 0; cursor: pointer; }
  .home-scene-picker input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
  .home-scene-picker label > span {
    display: inline-grid; place-items: center; min-height: 38px; padding: 6px clamp(9px, 1.25vw, 19px);
    border-radius: 999px; color: var(--cs-body); font-size: 12px; font-weight: 600; line-height: 1.25;
    transition: color .2s, background .2s;
  }
  .home-scene-picker label:hover > span { color: var(--cs-ink); background: var(--cs-sky); }
  .home-scene-picker input:checked + span { color: white; background: var(--cs-ink); }
  .home-scene-picker input:focus-visible + span { outline: 3px solid var(--cs-blue); outline-offset: 2px; }
  .home-showcase:has(input:not([value="porch"]):checked) .home-scene-porch { display: none; }
  .home-showcase:has([value="living"]:checked) .home-scene-living,
  .home-showcase:has([value="work"]:checked) .home-scene-work { display: block; }
}
.home-facts { border-block: 1px solid var(--cs-line); background: #fff; }
.home-facts .cs-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 22px; padding-block: 13px; }
.home-facts .cs-wrap > * { display: inline-flex; align-items: center; gap: 11px; min-height: 38px; color: var(--cs-body); font-size: 13px; font-weight: 550; }
.home-facts svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--cs-pink); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.home-facts a:first-of-type svg { stroke: var(--cs-blue); }
.home-facts a:hover { color: var(--cs-blue); text-decoration: underline; text-underline-offset: 4px; }

.home-services-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(17px, 2vw, 28px); }
.home-service-card {
  --card-accent: var(--cs-rose);
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  padding: clamp(24px, 3vw, 44px); border-radius: 28px;
  background: linear-gradient(150deg, #fff0f7, #fff5fa 75%); color: var(--cs-ink);
}
.home-service-commercial { --card-accent: var(--cs-blue); background: linear-gradient(150deg, #dff2ff, #f6faff 75%); }
.home-card-copy h3 { font-size: clamp(26px, 2.7vw, 42px); font-weight: 600; letter-spacing: -.055em; }
.home-card-copy p { max-width: 42ch; margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--cs-body); }
.home-service-art { width: 100%; margin: auto 0 0; padding: 5px 0 9px; }
.home-service-art img { display: block; width: 94%; height: auto; margin-inline: auto; transition: transform .55s var(--cs-ease); }
.home-card-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 14px; border-top: 1px solid rgb(20 45 67 / .14); color: var(--card-accent); font-weight: 600; font-size: 14px; }
.home-card-link > span { display: grid; place-items: center; width: 35px; height: 35px; flex: none; border-radius: 50%; border: 1px solid currentColor; font-size: 20px; line-height: 1; transition: color .2s, background .2s; }
.home-service-card:is(:hover, :focus-visible) .home-service-art img { transform: scale(1.035) translateY(-2px); }
.home-service-card:is(:hover, :focus-visible) .home-card-link > span { color: white; border-color: var(--card-accent); background: var(--card-accent); }
.home-process { background: #f6faff; }
.home-process-layout, .home-local-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(34px, 6vw, 95px); align-items: center; }
.home-process .cs-heading { font-size: clamp(38px, 3.8vw, 60px); }
.home-process .cs-steps li:first-child { border-top-color: #cadce7; }
.home-community-art { border-radius: 28px; background: linear-gradient(135deg, #fff5fa, #edf8ff); padding: clamp(10px, 2.2vw, 34px); }
.home-community-art img { width: 100%; height: auto; }
.home-local-copy .cs-body-copy { max-width: 44ch; }

@media (max-width: 1050px) and (min-width: 761px) {
  .home-stage { min-height: 470px; }
  .home-copy .cs-title { font-size: clamp(46px, 5.35vw, 58px); }
  .home-copy .cs-actions { gap: 4px 17px; }
  .home-copy .cs-actions > * { font-size: 13px; }
}
@media (max-width: 760px) {
  .home-hero { background: linear-gradient(148deg, #fff5fa 0%, #fff 44%, #edf8ff 90%); }
  .home-stage { grid-template-columns: minmax(0,1fr); min-height: auto; gap: 26px; padding: clamp(35px, 7.5vw, 55px) 0 28px; }
  .home-copy { text-align: center; }
  .home-copy .cs-kicker, .home-copy .cs-actions { justify-content: center; }
  .home-copy .cs-kicker { margin-bottom: 17px; }
  .home-copy .cs-title { font-size: clamp(45px, 10.6vw, 68px); }
  :lang(es) .home-copy .cs-title > span { text-wrap: balance; }
  :lang(es) .home-copy .cs-title > em { font-size: clamp(30px, 9.35vw, 57px); }
  .home-copy .cs-lead { margin: 15px auto 0; font-size: 15px; line-height: 1.6; }
  .home-copy .cs-actions { margin-top: 19px; flex-wrap: nowrap; }
  .home-copy .cs-actions > * { font-family: Inter, Arial, sans-serif; }
  .home-copy .cs-fine { margin-top: 9px; font-size: 11px; text-wrap: balance; }
  .home-showcase { width: min(100%, 490px); margin: 0 auto; }
  .home-art-orbit { width: 77%; left: 11.5%; }
  .home-scene-picker { margin-top: 2px; }
  .home-scene-picker label > span { padding-inline: 13px; min-height: 36px; font-size: 11px; }
  .home-facts .cs-wrap { justify-content: center; gap: 0 18px; padding-block: 8px; }
  .home-facts .cs-wrap > * { font-size: 11px; gap: 6px; min-height: 36px; }
  .home-facts svg { width: 15px; height: 15px; }
  .home-services-grid, .home-local-grid, .home-process-layout { grid-template-columns: 1fr; gap: 20px; }
  .home-service-card { border-radius: 23px; }
  .home-service-art { max-width: 440px; margin-inline: auto; }
  .home-process-layout, .home-local-grid { gap: 31px; }
  .home-process .cs-heading { font-size: clamp(35px, 8.2vw, 54px); }
  .home-local-copy { grid-row: 1; }
}
@media (max-width: 530px) {
  :lang(es) .home-copy .cs-actions { flex-direction: column; gap: 4px; }
}
@media (max-width: 374px) {
  .home-copy .cs-actions { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes home-scene-arrive { from { opacity: .2; transform: translateY(9px) scale(.975); } to { opacity: 1; transform: none; } }
  .home-scene { animation: home-scene-arrive .65s var(--cs-ease) both; }
  .home-copy > * { animation: cs-arrive .58s var(--cs-ease) backwards; }
  .home-copy .cs-lead { animation-delay: .055s; }
  .home-copy .cs-actions, .home-copy .cs-fine { animation-delay: .09s; }
  @supports (animation-timeline: view()) {
    @keyframes home-orbit-drift { from { transform: translateY(-50%) scale(1); } to { transform: translateY(-45%) scale(1.07); } }
    .home-art-orbit { animation: home-orbit-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-scene-picker label > span, .home-service-art img, .home-card-link > span { transition: none; }
  .home-copy .cs-text-link:hover > span, .home-service-card:is(:hover,:focus-visible) .home-service-art img { transform: none; }
}
