*, *::before, *::after { box-sizing: border-box; }

/* Design system: cinematic trade photography, transparent utility header,
   white quote panel, Apple-like radius, 8px rhythm, and one accent color per trade. */
:root {
  color-scheme: light;
  --paper: #f3f1eb;
  --paper-bright: #fff;
  --ink: #172019;
  --muted: #5d695f;
  --line: #d9ddd8;
  --display: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  --shadow: 0 24px 72px rgba(6, 14, 9, .22);
  --content: 1180px;
  --focus-inner: #111713;
  --focus-outer: #fff;
}

html { scroll-behavior: smooth; }
body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper-bright);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
button, input, select, textarea { min-width: 0; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
#quote, #quote-bottom, #services, #process, #areas { scroll-margin-top: 7rem; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto minmax(12rem, 1fr);
  min-height: 4.6rem;
  align-items: center;
  gap: 1rem;
  padding: .45rem max(1.25rem, calc((100vw - var(--content)) / 2));
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, .46) 0%, rgba(0, 0, 0, .16) 55%, transparent 100%);
  border-bottom: 0;
  transition: background 180ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  inset: 0 0 auto;
  background: linear-gradient(180deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, .12) 100%);
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.wordmark { display: inline-flex; width: fit-content; min-width: 0; min-height: 2.75rem; align-items: center; gap: .8rem; text-decoration: none; }
.wordmark-mark { display: inline-grid; width: 3.35rem; aspect-ratio: 1; flex: 0 0 auto; place-items: center; color: var(--accent-ink); background: var(--accent); border-radius: 50%; font: 900 .86rem/1 var(--display); letter-spacing: -.04em; }
.wordmark-copy { display: grid; min-width: 0; gap: .05rem; }
.wordmark-copy strong { font: 850 1.08rem/1.05 var(--display); letter-spacing: -.02em; }
.wordmark-copy small { color: rgba(255, 255, 255, .7); font: 700 .62rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2.2rem); }
.site-header nav a { color: rgba(255, 255, 255, .82); font: 800 .68rem/1.2 var(--body); letter-spacing: .07em; text-decoration: none; text-transform: uppercase; }
.site-header nav a:hover { color: #fff; }
.header-actions { display: flex; min-width: 0; align-items: center; justify-content: flex-end; gap: 1rem; }
.header-call { display: inline-flex; min-height: 2.75rem; min-width: 0; align-items: center; padding: .65rem 1rem; color: #1d1d1f; background: #fff; border-radius: 1rem; text-align: right; text-decoration: none; }
.header-call strong { font-size: .78rem; white-space: nowrap; }

.button { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; padding: .82rem 1.25rem; border: 0; border-radius: 1rem; cursor: pointer; font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-align: center; text-decoration: none; text-transform: uppercase; transition: background 160ms ease; }
.button:hover { transform: none; }
.button--primary { color: #1d1d1f; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.button--primary:hover { background: #f5f5f7; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.button--glass { color: #1d1d1f; background: #fff; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.button--header { min-height: 2.75rem; padding-inline: 1rem; white-space: nowrap; border-radius: 1rem; }
.quote-form .button--primary { color: var(--accent-ink); background: var(--accent); box-shadow: none; }
.quote-form .button--primary:hover { background: var(--accent); }

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  color: #fff;
  background-color: var(--surface);
  background-image: var(--hero-image);
  background-position: var(--hero-position);
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 7, 5, .5) 0%, rgba(3, 7, 5, .26) 48%, rgba(3, 7, 5, .18) 78%),
    linear-gradient(0deg, rgba(3, 7, 5, .38), transparent 55%);
}

.hero-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(28rem, min(46rem, 52vw)); min-height: inherit; max-width: 96rem; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 4rem); margin: 0 auto; padding: 7.3rem 1.25rem 2.5rem; }
.hero-copy { max-width: 31rem; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; text-align: center; -webkit-backdrop-filter: none; backdrop-filter: none; }
.eyebrow { margin: 0 0 1rem; color: var(--accent); font: 800 .7rem/1.4 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
.hero h1 { max-width: 12ch; margin-inline: auto; font-family: var(--serif); font-size: clamp(3.25rem, 4.5vw, 4.65rem); font-weight: 700; letter-spacing: -.035em; line-height: .98; text-transform: none; }
.hero-subtitle { max-width: 31rem; margin: 1.1rem auto 0; color: rgba(255, 255, 255, .88); font-size: clamp(.92rem, 1.3vw, 1.04rem); line-height: 1.58; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.15rem; }
.hero-actions .button { min-height: 3.15rem; border-radius: 1rem; box-shadow: none; letter-spacing: .04em; }
.hero-actions .button:hover { transform: none; box-shadow: none; }
.hero-actions .button--primary,
.hero-actions .button--glass {
  color: #1d1d1f;
  background: #fff;
  border: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero-actions .button--primary:hover,
.hero-actions .button--glass:hover { background: #f5f5f7; }
.hero-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 27rem; gap: .7rem; margin: 1rem auto 0; }
.hero-proof > span {
  display: grid;
  gap: .12rem;
  padding: .85rem .95rem;
  color: #1d1d1f;
  background: #fff;
  border: 0;
  border-radius: 1rem;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero-proof strong { color: #1d1d1f; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.hero-proof small { color: #6e6e73; font-size: .72rem; line-height: 1.35; }
.hero-social { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin: 1.15rem auto 0; }
.hero-social span {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  padding: .65rem 1rem;
  color: #1d1d1f;
  background: #fff;
  border: 0;
  border-radius: 1rem;
  font-size: .78rem;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.hero-form { width: 100%; max-width: none; min-width: 0; justify-self: stretch; align-self: stretch; display: flex; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1rem; width: 100%; min-width: min(100%, 22rem); min-height: min(100%, 32rem); padding: clamp(1.6rem, 3.2vw, 2.75rem); color: #1d1d1f; background: #fff; border: 0; border-radius: 1.35rem; box-shadow: 0 18px 50px rgba(0, 0, 0, .14); resize: both; overflow: auto; -webkit-backdrop-filter: none; backdrop-filter: none; }
.quote-form--compact { padding: clamp(1.5rem, 3vw, 2.4rem); }
.form-wide, .form-heading { grid-column: 1 / -1; }
.form-brand { display: grid; width: 4.35rem; height: 4.35rem; margin: 0 auto .7rem; place-items: center; color: var(--accent-ink); background: var(--accent); border-radius: 50%; font-size: 1.05rem; font-weight: 900; }
.form-kicker { margin: 0 0 .4rem; color: #6e6e73; font: 800 .72rem/1.2 var(--mono); letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.form-heading h2 { max-width: none; font-size: clamp(2.05rem, 3.4vw, 2.85rem); line-height: 1.02; letter-spacing: -.04em; text-align: center; text-transform: uppercase; }
.form-heading > p:last-child { margin: .65rem 0 .45rem; color: #6e6e73; font-size: 1.02rem; line-height: 1.45; text-align: center; }
.quote-form label:not(.consent) { display: grid; gap: .4rem; }
.quote-form label > span:first-child { font: 700 .82rem/1.25 var(--body); letter-spacing: .02em; text-transform: none; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-height: 3.45rem; padding: .85rem 1rem; color: #1d1d1f; background: #f5f5f7; border: 0; border-radius: .9rem; outline: none; font-size: 1.06rem; }
.quote-form textarea { min-height: 7.5rem; border-radius: 1rem; }
.quote-form option { color: #1d1d1f; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { background: #fff; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 55%, #fff); }
.quote-form textarea { resize: vertical; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #86868b; }
.quote-form .button { min-height: 3.6rem; border-radius: 1.05rem; font-size: .92rem; }
.consent { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .6rem; color: #6e6e73; font-size: .82rem; line-height: 1.45; }
.consent input { width: 1.2rem; min-height: 1.2rem; margin: .15rem 0 0; }
.form-demo-note { margin: 0; color: #6e6e73; font: 600 .78rem/1.45 var(--body); }
.form-status { min-height: 1rem; color: #215d3d; font-size: .92rem; font-weight: 700; line-height: 1.4; }

/* Painting reference: explicitly fictional sample brand, cinematic conversion geometry. */
.vertical-painting .site-header { grid-template-columns: minmax(18rem, 1fr) auto minmax(19rem, 1fr); max-width: 76rem; margin-inline: auto; padding-inline: 1.25rem; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.vertical-painting .site-header.is-scrolled { background: rgba(12, 15, 17, .9); -webkit-backdrop-filter: none; backdrop-filter: none; }
.vertical-painting .wordmark { gap: .7rem; }
.vertical-painting .wordmark-mark { width: 6.4rem; height: 3.25rem; aspect-ratio: auto; overflow: hidden; color: transparent; background: transparent url("./images/painting-logo-v1.png") center / contain no-repeat; border-radius: 0; font-size: 0; }
.vertical-painting .wordmark-copy strong { font-size: 1.12rem; }
.vertical-painting .site-header nav { gap: clamp(1rem, 2.1vw, 1.8rem); }
.vertical-painting .site-header nav a { font-size: .72rem; letter-spacing: 0; text-transform: none; }
.vertical-painting .header-call { color: #fff; background: rgba(8, 12, 15, .15); border: 1px solid rgba(255, 255, 255, .5); border-radius: .35rem; -webkit-backdrop-filter: none; backdrop-filter: none; }
.vertical-painting .button--header { border-radius: .35rem; text-transform: none; }
.vertical-painting .hero-overlay { background: linear-gradient(90deg, rgba(5, 8, 10, .45) 0%, rgba(5, 8, 10, .28) 49%, rgba(5, 8, 10, .24) 100%); }
.vertical-painting .hero-shell { max-width: 96rem; grid-template-columns: minmax(0, 1fr) minmax(28rem, min(46rem, 52vw)); gap: clamp(1.5rem, 4vw, 4rem); padding-top: 6.3rem; }
.vertical-painting .hero-copy { align-self: center; }
.vertical-painting .hero h1 { max-width: 11ch; font-size: clamp(3.35rem, 4.45vw, 4.6rem); line-height: 1.02; }
.vertical-painting .hero-subtitle { max-width: 34rem; font-size: .92rem; line-height: 1.65; }
.vertical-painting .quote-form--compact { grid-template-columns: minmax(0, 1fr); gap: .85rem; padding: clamp(1.5rem, 3vw, 2.4rem); background: #fff; border: 0; border-radius: 1.35rem; box-shadow: 0 18px 50px rgba(0, 0, 0, .14); -webkit-backdrop-filter: none; backdrop-filter: none; }
.vertical-painting .quote-form--compact label, .vertical-painting .quote-form--compact .form-wide { grid-column: 1; }
.vertical-painting .form-brand { width: 8rem; height: 4.1rem; overflow: hidden; color: transparent; background: transparent url("./images/painting-logo-v1.png") center / contain no-repeat; border-radius: 0; font-size: 0; }
.vertical-painting .quote-form--compact .form-heading h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; text-transform: uppercase; }
.vertical-painting .quote-form--compact .form-kicker, .vertical-painting .quote-form--compact .form-heading > p:last-child { display: none; }
.vertical-painting .quote-form--compact input, .vertical-painting .quote-form--compact select { min-height: 2.8rem; }
.vertical-painting .quote-form--compact textarea { min-height: 5.25rem; }
.vertical-painting .quote-form--compact .button { min-height: 3.1rem; border-radius: 1.5rem; }
.vertical-painting .chat-preview__header, .vertical-painting .chat-preview__send { background: #1f5fe0; }
.vertical-painting .hero-social span { -webkit-backdrop-filter: none; backdrop-filter: none; }

.image-source-badge { position: absolute; right: .8rem; bottom: .8rem; z-index: 5; display: inline-flex; max-width: calc(100% - 1.6rem); padding: .35rem .5rem; color: #fff; background: rgba(8, 14, 10, .72); border: 1px solid rgba(255, 255, 255, .4); border-radius: .2rem; font: 750 .58rem/1.25 var(--mono); letter-spacing: .04em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero > .image-source-badge, .detail-hero > .image-source-badge { right: auto; left: max(1.25rem, calc((100vw - var(--content)) / 2)); }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--content); margin: 0 auto; background: #fff; border-right: 1px solid var(--line); border-left: 1px solid var(--line); }
.trust-strip > div { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; min-height: 7.25rem; padding: 1.3rem clamp(1rem, 2.6vw, 2rem); border-right: 1px solid var(--line); }
.trust-strip > div:last-child { border-right: 0; }
.trust-strip > div > span { display: grid; width: 2.2rem; aspect-ratio: 1; place-items: center; color: var(--accent-ink); background: var(--accent); border-radius: 50%; font: 850 .65rem/1 var(--mono); }
.trust-strip p { display: grid; gap: .18rem; margin: 0; }
.trust-strip strong { font-size: .83rem; }
.trust-strip small { color: var(--muted); font-size: .72rem; line-height: 1.35; }

.section { max-width: var(--content); margin: 0 auto; padding: clamp(5.5rem, 9vw, 8.5rem) 1.25rem; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr); align-items: end; gap: clamp(2rem, 8vw, 8rem); }
.section-heading h2, .area-copy h2, .final-copy h2 { max-width: 14ch; font-size: clamp(2.6rem, 4.8vw, 4.8rem); font-weight: 780; letter-spacing: -.055em; line-height: .98; }
.section-heading > p, .area-copy > p:last-child, .final-copy > p { margin: 0; color: var(--muted); font-size: 1rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(3rem, 6vw, 5rem); }
.service-card { position: relative; display: flex; min-height: 31rem; overflow: hidden; flex-direction: column; justify-content: flex-end; padding: .8rem; isolation: isolate; color: #fff; background-color: var(--surface); background-image: var(--hero-image); background-position: var(--hero-position); background-size: cover; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 38%, rgba(5, 12, 8, .25) 68%, rgba(5, 12, 8, .52)); }
.service-card--crop-1 { background-position: 34% center; }
.service-card--crop-2 { background-position: 50% center; }
.service-card--crop-3 { background-position: 72% center; }
.service-card-content { position: relative; z-index: 2; display: flex; min-height: 0; flex-direction: column; gap: .45rem; padding: 1.15rem 1.25rem 1.2rem; color: #1d1d1f; background: #fff; border: 0; border-radius: 1.25rem; -webkit-backdrop-filter: none; backdrop-filter: none; }
.service-number { color: #6e6e73; font: 800 .78rem/1 var(--mono); }
.service-card h3 { margin: 0; color: #1d1d1f; font-size: clamp(1.85rem, 2.8vw, 2.45rem); line-height: 1.08; letter-spacing: -.04em; }
.service-card p { margin: 0; color: #6e6e73; font-size: 1.12rem; line-height: 1.4; }
.service-card a { width: fit-content; margin-top: .55rem; color: #1d1d1f; font-size: 1rem; font-weight: 800; text-decoration: none; }
.service-card a span { display: inline-block; margin-left: .25rem; transition: transform 160ms ease; }
.service-card a:hover span { transform: translateX(.25rem); }
.service-card > .image-source-badge { inset: .8rem .8rem auto auto; }

.work-story { position: relative; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(20rem, .7fr); max-width: var(--content); min-height: 44rem; overflow: hidden; margin: 0 auto clamp(2rem, 4vw, 4rem); background: var(--surface); }
.work-photo { position: relative; min-height: 44rem; background-image: var(--hero-image); background-position: var(--hero-position); background-size: cover; }
.work-copy { position: relative; z-index: 2; display: flex; align-self: center; min-width: 0; flex-direction: column; justify-content: center; margin: 2rem 2rem 2rem -5rem; padding: clamp(2.3rem, 5vw, 4.5rem); color: #1d1d1f; background: #fff; border: 0; border-radius: 1.35rem; box-shadow: 0 18px 50px rgba(0, 0, 0, .12); -webkit-backdrop-filter: none; backdrop-filter: none; }
.work-copy h2 { max-width: 12ch; font-size: clamp(2.4rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.work-copy > p:not(.eyebrow) { color: #6e6e73; font-size: 1.05rem; }
.check-list { display: grid; gap: .85rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.65rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.text-link { width: fit-content; margin-top: .6rem; color: var(--accent); font-size: .8rem; font-weight: 850; text-decoration: none; }

.process-section { border-top: 1px solid var(--line); }
.process-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: clamp(3rem, 6vw, 5rem) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.process-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 1rem; min-height: 13rem; padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line); }
.process-list li:not(:first-child) { padding-left: 1.5rem; }
.process-list li:last-child { border-right: 0; }
.process-list > li > span { display: grid; width: 2rem; aspect-ratio: 1; place-items: center; color: var(--accent-ink); background: var(--accent); border-radius: 50%; font: 900 .7rem/1 var(--mono); }
.process-list h3 { font-size: 1.25rem; }
.process-list p { color: var(--muted); font-size: .86rem; }

.areas-section { position: relative; display: grid; grid-template-columns: minmax(20rem, .85fr) minmax(24rem, 1.15fr); align-items: start; gap: clamp(3rem, 9vw, 9rem); background: var(--paper); }
.areas-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--paper); }
.area-links { display: grid; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.area-links a { display: flex; min-width: 0; min-height: 5rem; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem .25rem; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 800; text-decoration: none; }
.area-links a:nth-child(odd) { margin-right: 1.75rem; }
.area-links a span { color: var(--muted); }

.final-quote { display: grid; grid-template-columns: minmax(18rem, .75fr) minmax(25rem, 1.25fr); align-items: start; gap: clamp(3rem, 8vw, 8rem); }
.final-copy { position: sticky; top: 8rem; }
.final-copy > p { max-width: 31rem; margin-top: 1.25rem; }
.direct-call { display: grid; width: fit-content; gap: .2rem; margin-top: 2rem; text-decoration: none; }
.direct-call span { color: var(--muted); font: 800 .65rem/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.direct-call strong { font-size: 1.5rem; }
.final-quote .quote-form { color: #1d1d1f; background: #fff; border: 0; border-radius: 1.35rem; box-shadow: 0 18px 50px rgba(0, 0, 0, .14); }
.final-quote .form-kicker, .final-quote .form-heading > p:last-child, .final-quote .consent, .final-quote .form-demo-note { color: var(--muted); }
.final-quote .form-status { color: #215d3d; }
.final-quote .form-brand { margin-inline: 0; }
.final-quote .form-kicker, .final-quote .form-heading h2, .final-quote .form-heading > p:last-child { text-align: left; }
.final-quote .quote-form input, .final-quote .quote-form select, .final-quote .quote-form textarea { color: #1d1d1f; background: #f5f5f7; border: 0; border-radius: .9rem; }
.final-quote .quote-form input::placeholder, .final-quote .quote-form textarea::placeholder { color: #768279; }

.detail-hero { position: relative; display: grid; min-height: 43rem; isolation: isolate; align-items: center; color: #fff; background-color: var(--surface); background-image: var(--hero-image); background-position: var(--hero-position); background-size: cover; }
.detail-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 13, 9, .28), rgba(7, 13, 9, .04) 68%, rgba(7, 13, 9, .12)); }
.detail-hero-copy { width: min(43rem, calc(100% - 2.5rem)); margin: 8rem auto 3.5rem max(1.25rem, calc((100vw - var(--content)) / 2)); padding: clamp(1.5rem, 4vw, 2.75rem); color: #1d1d1f; background: #fff; border: 0; border-radius: 1.35rem; box-shadow: 0 18px 50px rgba(0, 0, 0, .12); -webkit-backdrop-filter: none; backdrop-filter: none; }
.detail-hero h1 { max-width: 13ch; color: #1d1d1f; font-size: clamp(3.4rem, 6.5vw, 6.5rem); line-height: .96; letter-spacing: -.055em; }
.detail-hero-copy > p:not(.eyebrow) { max-width: 40rem; color: #6e6e73; font-size: 1.2rem; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: var(--content); margin: 0 auto; border-bottom: 1px solid var(--line); }
.detail-grid article { min-height: 29rem; padding: clamp(3rem, 7vw, 6.5rem) clamp(1.25rem, 5vw, 4.5rem); }
.detail-grid article:first-child { border-right: 1px solid var(--line); }
.detail-grid h2 { max-width: 12ch; font-size: clamp(2.4rem, 4vw, 4rem); line-height: 1; letter-spacing: -.05em; }
.detail-grid .check-list { color: var(--muted); }
.detail-note { background: var(--paper); }
.detail-note > p:last-child { color: var(--muted); }

footer { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; padding: clamp(3rem, 6vw, 5.5rem) max(1.25rem, calc((100vw - var(--content)) / 2)); color: #6e6e73; background: #fff; }
.footer-brand { display: flex; min-width: 0; align-items: flex-start; gap: 1rem; }
.footer-brand strong { color: #1d1d1f; font-size: 1.15rem; }
.footer-brand p { max-width: 45rem; margin: .5rem 0 0; font-size: .9rem; }
.footer-contact { display: grid; min-width: 0; align-content: start; justify-items: end; gap: .5rem; font-size: .9rem; }
.footer-contact a { color: #1d1d1f; text-decoration: none; }
.mobile-action-bar { display: none; }

.chat-preview { position: fixed; right: 1rem; bottom: 1rem; z-index: 46; width: min(15.5rem, calc(100vw - 2rem)); overflow: hidden; color: var(--ink); background: #fff; border-radius: .55rem; box-shadow: 0 18px 60px rgba(0, 0, 0, .28); }
.chat-preview__header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .65rem; min-height: 4rem; padding: .65rem .75rem; color: #fff; background: var(--accent); }
.chat-preview__avatar { display: grid; width: 2.2rem; height: 2.2rem; place-items: center; color: var(--accent-ink); background: rgba(255, 255, 255, .9); border-radius: 50%; font-size: .66rem; font-weight: 900; }
.chat-preview__header p { display: grid; gap: .05rem; margin: 0; }
.chat-preview__header strong { color: var(--accent-ink); font-size: .72rem; }
.chat-preview__header small { color: color-mix(in srgb, var(--accent-ink) 72%, transparent); font-size: .56rem; }
.chat-preview__header button { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; padding: 0; color: var(--accent-ink); background: transparent; border: 0; cursor: pointer; font-size: 1.2rem; }
.chat-preview__body { display: grid; gap: .62rem; padding: .8rem; }
.chat-preview__body > p { margin: 0; padding: .65rem; color: #4a554d; background: #f3f6f3; border-radius: .35rem; font-size: .67rem; line-height: 1.45; }
.chat-preview__body label { display: grid; gap: .25rem; }
.chat-preview__body label span { font-size: .58rem; font-weight: 850; text-transform: uppercase; }
.chat-preview__body input, .chat-preview__body textarea { width: 100%; min-height: 2.75rem; padding: .55rem .65rem; color: var(--ink); background: #fff; border: 1px solid #d5ddd7; border-radius: .25rem; outline: none; resize: none; }
.chat-preview__send { min-height: 2.75rem; color: var(--accent-ink); background: var(--accent); border: 0; cursor: pointer; font-size: .67rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.chat-preview output { min-height: .8rem; color: #3e644f; font-size: .58rem; }
.chat-preview.is-collapsed { width: 4rem; }
.chat-preview.is-collapsed .chat-preview__header { grid-template-columns: 1fr; padding: .35rem; }
.chat-preview.is-collapsed .chat-preview__avatar, .chat-preview.is-collapsed .chat-preview__header p, .chat-preview.is-collapsed .chat-preview__body { display: none; }
.chat-preview.is-collapsed .chat-preview__header button { justify-self: center; }

:focus-visible { outline: 3px solid var(--focus-outer) !important; outline-offset: 3px; box-shadow: 0 0 0 6px var(--focus-inner) !important; }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; }
  .hero-shell { grid-template-columns: minmax(0, 1fr) minmax(19rem, .68fr); gap: 1.5rem; }
  .hero h1 { font-size: clamp(3rem, 6vw, 4.75rem); }
  .section-heading { gap: 3rem; }
  .service-card { min-height: 30rem; }
  .work-copy { margin-left: -3rem; }
}

@media (max-width: 900px) {
  .areas-section { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
}

@media (max-width: 780px) {
  body { padding-bottom: 4rem; font-size: 16px; }
  .site-header { inset: 0 0 auto; grid-template-areas: "brand actions" "nav nav"; grid-template-columns: minmax(0, 1fr) auto; min-height: 0; gap: .2rem .5rem; padding: .4rem .75rem .45rem; }
  .wordmark { grid-area: brand; }
  .header-actions { grid-area: actions; }
  .site-header nav { grid-area: nav; display: flex; max-width: 100%; justify-content: flex-start; gap: 1.05rem; overflow-x: auto; padding: .05rem 0 .2rem; scrollbar-width: none; }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a { flex: 0 0 auto; font-size: .7rem; white-space: nowrap; }
  .wordmark-mark { width: 2.35rem; }
  .wordmark-copy small { display: none; }
  .header-call { display: none; }
  .button--header { min-height: 2.6rem; }
  .hero { min-height: auto; background-position: var(--hero-position); }
  .hero-overlay { background: linear-gradient(180deg, rgba(7, 13, 9, .12), rgba(7, 13, 9, .22)); }
  .hero-shell { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 7.2rem 1rem 2rem; }
  .hero-copy { max-width: 40rem; padding: 0; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.8rem, 12.6vw, 4.4rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-form { max-width: 40rem; justify-self: center; }
  .hero > .image-source-badge, .detail-hero > .image-source-badge { right: 1rem; bottom: .65rem; left: auto; }
  .trust-strip { grid-template-columns: minmax(0, 1fr); }
  .trust-strip > div { min-height: 5.8rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 5rem 1rem; }
  .section-heading { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 1.5rem; }
  .section-heading h2, .area-copy h2, .final-copy h2 { font-size: clamp(2.45rem, 11vw, 4rem); }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card { min-height: 30rem; }
  .work-story { grid-template-columns: minmax(0, 1fr); margin-inline: 1rem; }
  .work-photo { min-height: 29rem; }
  .work-copy { margin: -4rem 1rem 1rem; padding: 2.5rem 1.4rem; }
  .process-list { grid-template-columns: minmax(0, 1fr); }
  .process-list li, .process-list li:not(:first-child) { min-height: auto; padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .areas-section { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .final-quote { grid-template-columns: minmax(0, 1fr); }
  .final-copy { position: static; }
  .detail-hero { min-height: 37rem; }
  .detail-hero-copy { width: calc(100% - 2rem); margin: 7.8rem 1rem 3.5rem; padding: 1.4rem; }
  .detail-hero h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-grid article { min-height: auto; padding: 4rem 1rem; }
  .detail-grid article:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: minmax(0, 1fr); padding-inline: 1rem; }
  .footer-contact { justify-items: start; }
  .mobile-action-bar { position: fixed; right: 0; bottom: 0; left: 0; z-index: 50; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 4rem; background: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); }
  .mobile-action-bar a { display: grid; min-width: 0; place-items: center; color: #1d1d1f; font-size: .82rem; font-weight: 800; text-decoration: none; }
  .mobile-action-bar a:last-child { color: #1d1d1f; background: #f5f5f7; }
  .chat-preview { right: .75rem; bottom: 4.75rem; }
  .chat-preview.is-collapsed { width: 3rem; }
  .chat-preview.is-collapsed .chat-preview__header { min-height: 0; height: 3rem; padding: 0; }
  .chat-preview.is-collapsed .chat-preview__header button { width: 3rem; height: 3rem; }
  .vertical-painting .site-header { grid-template-areas: "brand actions" "nav nav"; grid-template-columns: minmax(0, 1fr) auto; max-width: none; min-height: 6.8rem; margin: 0; gap: .25rem .5rem; padding: .5rem .75rem; }
  .vertical-painting .wordmark { grid-area: brand; }
  .vertical-painting .header-actions { grid-area: actions; }
  .vertical-painting .header-call { display: none; }
  .vertical-painting .site-header nav { grid-area: nav; display: flex; max-width: 100%; justify-content: flex-start; gap: 1.1rem; overflow-x: auto; padding: .1rem 0 .25rem; scrollbar-width: none; }
  .vertical-painting .site-header nav::-webkit-scrollbar { display: none; }
  .vertical-painting .site-header nav a { flex: 0 0 auto; font-size: .64rem; white-space: nowrap; }
  .vertical-painting .wordmark-mark { width: 3.9rem; height: 2.2rem; }
  .vertical-painting .wordmark-copy strong { display: block; max-width: clamp(7rem, 44vw, 11rem); overflow: hidden; font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
  .vertical-painting .hero-shell { grid-template-columns: minmax(0, 1fr); max-width: none; gap: 2rem; padding: 8.2rem .75rem 1.5rem; }
  .vertical-painting .hero h1 { max-width: 11ch; font-size: clamp(2.7rem, 12.5vw, 3.9rem); }
  .vertical-painting .hero-copy, .vertical-painting .hero-form { width: 100%; max-width: 40rem; }
  .vertical-painting .quote-form--compact { padding: 1.1rem; }
  .vertical-painting .mobile-action-bar { display: none; }
  .vertical-painting .chat-preview { bottom: .75rem; }
}

@media (max-width: 520px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; padding-inline: .75rem; }
  .wordmark { gap: .5rem; }
  .wordmark-copy strong { display: block; max-width: clamp(6.5rem, 43vw, 11rem); overflow: hidden; font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
  .button--header { width: auto; padding-inline: .65rem; font-size: .66rem; }
  .hero-shell { padding: 6.8rem .75rem 1.5rem; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(2.45rem, 12.4vw, 3.8rem); }
  .hero-actions { display: grid; }
  .hero-actions .button, .quote-form .button { width: 100%; min-height: 3.35rem; }
  .hero-promises { display: grid; gap: .45rem; }
  .quote-form { grid-template-columns: minmax(0, 1fr); padding: 1.1rem; }
  .quote-form label, .form-wide { grid-column: 1; }
  .area-links { grid-template-columns: minmax(0, 1fr); }
  .area-links a:nth-child(odd) { margin-right: 0; }
  .work-story { margin-inline: 0; }
  .work-photo { min-height: 24rem; }
  .work-copy { margin-inline: .75rem; padding: 2.25rem 1.1rem; }
  .service-card { min-height: 28rem; }
  .service-card-content { min-height: 0; padding: 1.05rem 1.1rem; }
  .final-quote .quote-form { padding: 1.1rem; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled { background: linear-gradient(180deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, .1)); }
  .button--glass { background: rgba(120, 120, 124, .42); }
  .hero-copy { background: transparent; }
  .detail-hero-copy { background: #fff; }
  .quote-form { background: #fff; }
  .final-quote .quote-form { background: #fff; }
  .service-card-content, .work-copy { background: #fff; }
  .image-source-badge { background: #111713; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .button:hover, .service-card a:hover span { transform: none; }
}

@media (forced-colors: active) {
  .hero-copy, .quote-form, .service-card-content, .work-copy, .detail-hero-copy { border: 2px solid CanvasText; }
}

/* ─── Feedback Funnel — Premium Review Gate ─── */

.feedback-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent),
    radial-gradient(ellipse 60% 50% at 80% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent),
    var(--surface, #1d2328);
  position: relative;
  overflow: hidden;
}

/* subtle floating orbs behind the card */
.feedback-main::before,
.feedback-main::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.feedback-main::before {
  width: 400px; height: 400px;
  background: var(--accent);
  top: -120px; left: -80px;
}
.feedback-main::after {
  width: 300px; height: 300px;
  background: #fbbf24;
  bottom: -80px; right: -60px;
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 20px) scale(1.08); }
}

.feedback-section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  padding: 3rem 2.25rem 2.5rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  text-align: center;
  animation: cardEnter 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cardEnter {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.feedback-header {
  margin-bottom: 2rem;
}

.feedback-avatar {
  display: inline-flex;
  width: 4.5rem;
  height: 4.5rem;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000));
  color: var(--accent-ink, #fff);
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  box-shadow:
    0 4px 16px color-mix(in srgb, var(--accent) 40%, transparent),
    0 0 0 3px rgba(255, 255, 255, 0.08);
  animation: avatarPulse 3s ease-in-out infinite;
}

@keyframes avatarPulse {
  0%, 100% { box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 40%, transparent), 0 0 0 3px rgba(255, 255, 255, 0.08); }
  50%      { box-shadow: 0 4px 24px color-mix(in srgb, var(--accent) 55%, transparent), 0 0 0 5px rgba(255, 255, 255, 0.12); }
}

.feedback-header h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.feedback-header p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  margin: 0;
}

/* ─── Star Rating ─── */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 2rem;
  padding: 0.75rem 0;
}

.star-rating input {
  appearance: none;
  margin: 0;
  padding: 0;
  width: 0;
  height: 0;
  position: absolute;
  opacity: 0;
}

.star-rating label {
  color: rgba(255, 255, 255, 0.18);
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
  transition: color 200ms ease, transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1), filter 200ms ease;
  user-select: none;
  -webkit-user-select: none;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #fbbf24;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

.star-rating label:hover {
  transform: scale(1.25);
}

.star-rating input:checked ~ label {
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.35));
}

/* ─── Feedback Extended Form ─── */
.feedback-extended {
  text-align: left;
  animation: slideDown 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

.feedback-prompt {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-size: 1.05rem;
}

.feedback-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.625rem;
  font-family: var(--body);
  font-size: 1rem;
  color: #fff;
  transition: border-color 250ms ease, box-shadow 250ms ease, background 250ms ease;
}

.feedback-form input::placeholder,
.feedback-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

.feedback-form .button {
  width: 100%;
  margin-top: 0.75rem;
  border-radius: 0.625rem;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 80%, #000));
  border: none;
  color: var(--accent-ink, #fff);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.feedback-form .button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 35%, transparent);
}

.feedback-form .button:active {
  transform: translateY(0);
}

.feedback-form .form-status {
  display: block;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  animation: slideDown 300ms ease forwards;
}

.feedback-form .form-status.success {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.feedback-form .form-status.error {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Override header/footer for dark feedback page ─── */
.feedback-main ~ footer,
.feedback-main ~ .mobile-action-bar {
  background: var(--surface, #1d2328);
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.feedback-main ~ footer a { color: rgba(255, 255, 255, 0.7); }
.feedback-main ~ footer strong { color: #fff; }

/* make sure the site header looks good on dark bg too */
body:has(.feedback-main) { background: var(--surface, #1d2328); }
body:has(.feedback-main) .site-header { color: #fff; }
body:has(.feedback-main) .site-header a { color: rgba(255, 255, 255, 0.8); }
body:has(.feedback-main) .wordmark-mark { background: var(--accent); color: var(--accent-ink, #fff); }

/* ─── Responsive ─── */
@media (max-width: 520px) {
  .feedback-section {
    padding: 2rem 1.25rem 2rem;
    border-radius: 1rem;
  }
  .star-rating label { font-size: 2.5rem; }
  .feedback-header h2 { font-size: 1.25rem; }
}
