/* Homepage — Villa's Pro Painting LLC (premium redesign v2) */

/* hero: his navy house, full bleed; the title sits in the sky */
.place { position: relative; max-width: none; margin: 0; padding: 0; height: calc(100svh - 68px - 42px); min-height: 580px; max-height: 1080px; overflow: hidden; background: var(--navy-deep); color: var(--on-navy); }
.place picture, .place img { position: absolute; inset: 0; width: 100%; height: 100%; }
.place img { object-fit: cover; object-position: 62% 45%; animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.place::before, .place::after { content: ""; position: absolute; left: 0; right: 0; z-index: 1; pointer-events: none; }
.place::before { top: 0; bottom: 0; left: 0; width: 72%; background: linear-gradient(to right, oklch(0.16 0.04 265 / 0.86) 0%, oklch(0.16 0.04 265 / 0.66) 48%, oklch(0.16 0.04 265 / 0) 100%); } /* taste-skill-ignore: text scrim */
.place::after { bottom: 0; height: 34%; background: linear-gradient(to top, oklch(0.18 0.04 265 / 0.66), oklch(0.18 0.04 265 / 0)); } /* taste-skill-ignore: text scrim */
.place-title { position: relative; z-index: 2; padding: clamp(72px, 14vh, 160px) var(--margin) 0; max-width: calc(var(--margin) + 1000px); }
.place-title h1 { color: var(--on-navy); font-size: clamp(3rem, 1.4rem + 6vw, 6rem); line-height: 0.96; letter-spacing: -0.04em; }
.place-title h1 span { display: block; }
.place-title p { margin: 28px 0 0; max-width: 36ch; font-size: var(--step-lead); font-weight: 300; line-height: 1.35; color: var(--on-navy); }
.place-foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--margin) clamp(28px, 5vh, 48px); }
.place-proof { font-size: 0.9375rem; line-height: 1.5; color: var(--on-navy); }
.place-proof b { display: block; font-size: 1.25rem; font-weight: 400; letter-spacing: -0.01em; }
.place-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.place-actions .btn.primary { background: var(--on-navy); color: var(--navy) !important; }
.place-actions .btn.primary:hover { background: #fff; }
.place-actions .btn.outline { color: var(--on-navy); box-shadow: inset 0 0 0 1px var(--on-navy); } /* taste-skill-ignore: outline button state */
.place-actions .btn.outline:hover { background: var(--on-navy); color: var(--navy); }

/* intro statement */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.intro p { grid-column: 3 / 11; font-size: clamp(1.5rem, 1.05rem + 1.5vw, 2.25rem); font-weight: 300; line-height: 1.28; letter-spacing: -0.02em; }
.intro a { grid-column: 3 / 11; justify-self: start; font-weight: 500; }

/* services: one photograph, an active list */
.services { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.services-photo { grid-column: 1 / 6; position: sticky; top: 12vh; aspect-ratio: 4/5; overflow: hidden; background: var(--surface); margin: 0; }
.services-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.services-photo img.on { opacity: 1; }
.services-photo figcaption { position: absolute; left: 0; bottom: 0; z-index: 2; padding: 10px 14px; background: var(--ground); font-size: 0.875rem; color: var(--ink); }
.services-list { grid-column: 7 / 13; }
.services-list h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.svc { display: block; padding: 22px 0 24px; text-decoration: none; color: var(--ink); box-shadow: 0 -1px 0 var(--line); opacity: 0.58; transition: opacity .35s var(--ease); } /* taste-skill-ignore: list rule */
.svc.on, .svc:hover, .svc:focus-visible { opacity: 1; color: var(--ink); }
.svc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.svc-row h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); font-weight: 300; letter-spacing: -0.025em; }
.svc-row span { font-size: 0.9375rem; color: var(--ink-soft); white-space: nowrap; }
.svc p { margin-top: 10px; max-width: 46ch; font-size: 1rem; color: var(--ink-soft); }
.svc-more { margin-top: 32px; font-size: 1rem; }

/* testimonial on the navy field */
.voice { max-width: none; padding: clamp(96px, 12vw, 176px) var(--margin); }
.voice-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.voice blockquote { grid-column: 2 / 11; margin: 0; font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.75rem); font-weight: 300; line-height: 1.22; letter-spacing: -0.025em; text-indent: -0.4em; }
.voice-by { grid-column: 2 / 11; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-top: 40px; font-size: 1rem; color: var(--on-navy-soft); }
.voice-by b { color: var(--on-navy); }
.voice-more { grid-column: 2 / 12; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: clamp(64px, 8vw, 112px); }
.voice-more figure { margin: 0; }
.voice-more blockquote { grid-column: auto; font-size: 1.0625rem; line-height: 1.55; letter-spacing: 0; text-indent: 0; color: var(--on-navy); }
.voice-more figcaption { margin-top: 14px; font-size: 0.875rem; color: var(--on-navy-soft); }

/* process: one verb at a time */
.process h2 { margin-bottom: clamp(32px, 4vw, 64px); }
.steps { list-style: none; display: grid; }
.steps li { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: end; padding: 28px 0; box-shadow: 0 -1px 0 var(--line); } /* taste-skill-ignore: list rule */
.steps b { font-size: clamp(3.25rem, 1.4rem + 7vw, 7.5rem); font-weight: 300; letter-spacing: -0.045em; line-height: 0.9; }
.steps p { font-size: 1.0625rem; color: var(--ink-soft); max-width: 42ch; padding-bottom: 10px; }

/* prices, set like a menu */
.prices { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.prices-head { grid-column: 1 / 5; display: grid; gap: 18px; align-content: start; position: sticky; top: 120px; }
.prices-head p { color: var(--ink-soft); max-width: 30ch; }
.prices-body { grid-column: 6 / 13; display: grid; gap: 48px; }
.prices-group h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; margin-bottom: 8px; }
.price { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 18px 0; box-shadow: 0 1px 0 var(--line); } /* taste-skill-ignore: list rule */
.price span { font-size: 1.1875rem; }
.price strong { font-size: 1.1875rem; font-weight: 400; font-variant-numeric: tabular-nums; }
.price small { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--ink-soft); max-width: 52ch; }
.prices-note { font-size: 0.9375rem; color: var(--ink-soft); }

/* crew */
.crew { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.crew figure { grid-column: 1 / 8; margin: 0; aspect-ratio: 3/2; overflow: hidden; background: var(--surface); }
.crew figure img { width: 100%; height: 100%; object-fit: cover; }
.crew-text { grid-column: 9 / 13; display: grid; gap: 20px; padding-bottom: 8px; }
.crew-text p { color: var(--ink-soft); }
.crew-text ul { list-style: none; display: grid; gap: 10px; font-size: 0.9375rem; }
.crew-text li { padding-left: 18px; position: relative; }
.crew-text li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }

/* where we paint */
.areas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.areas-text { grid-column: 1 / 6; display: grid; gap: 24px; }
.areas-text p { color: var(--ink-soft); max-width: 40ch; }
.areas-list { list-style: none; columns: 2; column-gap: 32px; font-size: 1.0625rem; }
.areas-list li { break-inside: avoid; padding: 8px 0; }
.areas-list a { text-decoration-color: var(--line); }
.areas-map { grid-column: 7 / 13; aspect-ratio: 4/3; background: var(--surface); overflow: hidden; }
.areas-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.85) contrast(1.05); }

/* questions */
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.faq-head { grid-column: 1 / 5; display: grid; gap: 20px; align-content: start; }
.faq-head p { color: var(--ink-soft); font-size: 1rem; }
.faq .faq-wrap { grid-column: 6 / 13; }

/* estimate */
.estimate { max-width: none; margin-bottom: 0; padding: clamp(96px, 11vw, 160px) var(--margin); }
.estimate-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.estimate-copy { grid-column: 1 / 6; display: grid; gap: 24px; align-content: start; }
.estimate-copy p { color: var(--on-navy-soft); max-width: 38ch; }
.estimate-phone { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem); font-weight: 300; letter-spacing: -0.03em; color: var(--on-navy); text-decoration: none; }
.estimate-phone:hover { text-decoration: underline; color: #fff; }
.estimate-copy address { font-style: normal; font-size: 0.9375rem; line-height: 1.7; color: var(--on-navy-soft); }
.estimate-form { grid-column: 7 / 13; background: #fff; min-height: 983px; }
.estimate-form iframe { width: 100%; min-height: 983px; border: 0; display: block; }
.foot { margin-top: 0; }

@media (max-width: 1080px) {
  .intro p, .intro a { grid-column: 1 / -1; }
  .services-photo { grid-column: 1 / -1; position: sticky; top: 68px; z-index: 2; aspect-ratio: auto; height: 36svh; }
  .services-list { grid-column: 1 / -1; }
  .voice blockquote, .voice-by { grid-column: 1 / -1; }
  .voice-more { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 32px; }
  .prices-head { position: static; }
  .prices-head, .prices-body, .crew figure, .crew-text, .areas-text, .areas-map, .faq-head, .faq .faq-wrap, .estimate-copy, .estimate-form { grid-column: 1 / -1; }
  .crew-text { padding-bottom: 0; }
}
@media (max-width: 680px) {
  .place { height: calc(100svh - 68px - 58px - 40px); min-height: 540px; }
  .place img { object-position: 50% 50%; }
  .place-title { padding-top: 48px; max-width: none; }
  .place::before { width: 100%; background: linear-gradient(to bottom, oklch(0.16 0.04 265 / 0.84) 0%, oklch(0.16 0.04 265 / 0.55) 55%, oklch(0.16 0.04 265 / 0.2) 100%); } /* taste-skill-ignore: text scrim */
  .place-title h1 { font-size: clamp(2.125rem, 9.2vw, 3rem); }
  .place-title p { font-size: 1.0625rem; margin-top: 18px; }
  .place-foot { flex-direction: column; align-items: stretch; }
  .place-actions .btn { flex: 1 1 100%; }
  .svc { opacity: 1; }
  .steps li { grid-template-columns: 1fr; gap: 8px; }
  .areas-list { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { .place img { animation: none; } .services-photo img { transition: none; } }
