:root {
  --ink: #0b1728;
  --ink-soft: #27364a;
  --paper: #f7f8fa;
  --white: #ffffff;
  --orange: #f97316;
  --orange-dark: #d95708;
  --line: #d9dee7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; }
video { display: block; max-width: 100%; }

.site-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 8px clamp(22px, 5vw, 80px); background: #07182f; color: white; position: sticky; top: 0; z-index: 10; box-shadow: 0 8px 28px rgba(6, 15, 27, .22); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand-logo { display: block; width: 166px; height: auto; border-radius: 2px; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
nav a, .nav-assistant { text-decoration: none; font-size: .95rem; font-weight: 700; }
.nav-assistant { padding: 0; border: 0; background: transparent; color: white; cursor: pointer; font-family: inherit; }
nav a:not(.nav-cta), .nav-assistant { position: relative; }
nav a:not(.nav-cta)::after, .nav-assistant::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s ease; }
nav a:not(.nav-cta):hover::after, .nav-assistant:hover::after { transform: scaleX(1); }
.nav-cta { background: var(--orange); padding: 11px 18px; border-radius: 3px; }
.nav-phone { color: #dce4ef; }
.nav-cta:hover, .button-primary:hover { background: var(--orange-dark); }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--ink); color: white; overflow: hidden; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 9vw, 130px) clamp(24px, 6vw, 92px); position: relative; }
.hero-copy::after { content: ""; position: absolute; width: 220px; height: 8px; right: -72px; top: 22%; background: var(--orange); transform: rotate(-35deg); z-index: 2; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .14em; font-size: .79rem; font-weight: 850; color: var(--orange); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; max-width: 740px; font-size: clamp(3.2rem, 7vw, 7rem); line-height: .9; letter-spacing: -.065em; }
h1 span { color: var(--orange); }
.hero-lead { max-width: 640px; color: #ced6e2; font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 21px; border-radius: 3px; text-decoration: none; font-weight: 800; transition: .2s ease; }
.button-primary { background: var(--orange); color: white; }
.button-secondary { border: 1px solid #596779; color: white; }
.button-secondary:hover { border-color: white; }
.trust-row { display: flex; gap: 11px 22px; flex-wrap: wrap; color: #9eabbc; font-size: .86rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.trust-row span:not(:last-child)::after { content: "•"; margin-left: 22px; color: var(--orange); }
.hero-media { min-height: 640px; position: relative; background: #5f6871; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,23,40,.25), transparent 35%), linear-gradient(0deg, rgba(11,23,40,.65), transparent 45%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; filter: saturate(.75) contrast(1.03); }
.project-tag { position: absolute; z-index: 2; bottom: 32px; left: 13%; right: 32px; padding: 17px 19px; background: rgba(11,23,40,.9); border-left: 5px solid var(--orange); backdrop-filter: blur(8px); }
.project-tag strong, .project-tag span { display: block; }
.project-tag strong { color: var(--orange); text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; }
.project-tag span { margin-top: 3px; font-weight: 750; }

.proof-bar { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(22px, 6vw, 92px); background: white; border-bottom: 1px solid var(--line); }
.proof-bar article { min-height: 132px; padding: 30px clamp(18px, 3vw, 42px); border-left: 1px solid var(--line); }
.proof-bar article:last-child { border-right: 1px solid var(--line); }
.proof-bar strong, .proof-bar span { display: block; }
.proof-bar strong { margin-bottom: 5px; color: var(--ink); font-size: 1.05rem; }
.proof-bar span { color: #637083; font-size: .94rem; }

.services { padding: clamp(72px, 9vw, 128px) clamp(22px, 6vw, 92px); }
.section-heading { display: grid; grid-template-columns: 1.1fr .8fr; gap: 18px 70px; align-items: end; margin-bottom: 44px; }
.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -5px; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4.7rem); line-height: 1; letter-spacing: -.05em; }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.section-heading > p:last-child { color: #637083; font-size: 1.1rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: white; }
.service-grid article { min-height: 280px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-grid article:hover { position: relative; z-index: 1; border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 23, 40, .1); }
.service-grid article > span { color: var(--orange); font-weight: 850; font-size: .8rem; }
.service-grid h3 { margin: 38px 0 12px; font-size: 1.38rem; }
.service-grid p { color: #5d697b; margin-bottom: 0; }

.work { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 640px; background: white; }
.work-photo { overflow: hidden; min-height: 560px; }
.work-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }
.work-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 7vw, 110px); }
.work-copy p:not(.eyebrow) { color: #5d697b; font-size: 1.08rem; }
.work-copy ul { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.work-copy li { padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 750; }
.work-copy li::before { content: "✓"; color: var(--orange); margin-right: 12px; }

.videos { padding: clamp(72px, 9vw, 128px) clamp(22px, 6vw, 92px); background: var(--ink); color: white; }
.video-heading > p:last-child { color: #b7c0cd; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.video-card { overflow: hidden; background: #111f32; border: 1px solid #2f3d50; box-shadow: 0 18px 45px rgba(0, 0, 0, .2); }
.video-card video { width: 100%; aspect-ratio: 9 / 16; max-height: 570px; background: #050a12; object-fit: cover; }
.video-card > div { padding: 22px; border-top: 4px solid var(--orange); }
.video-card h3 { margin-bottom: 7px; font-size: 1.3rem; }
.video-card p { margin-bottom: 0; color: #b7c0cd; }
.featured-project { grid-column: 1 / -1; }
.featured-project .featured-project-media { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); padding: 0; border-top: 0; background: #050a12; }
.featured-project .featured-project-media video, .featured-project .featured-project-media img { width: 100%; height: min(64vw, 700px); background: #050a12; object-fit: contain; }
.featured-project .featured-project-media img { border-left: 1px solid #2f3d50; }
.featured-project .featured-project-copy { display: grid; grid-template-columns: minmax(150px, .5fr) minmax(210px, .75fr) 1fr auto; align-items: center; gap: 18px 28px; padding: 24px 28px; }
.featured-project .featured-project-copy > * { margin: 0; }
.project-kicker { color: var(--orange) !important; font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.google-project-button { min-width: 225px; text-align: center; }

.process { padding: clamp(70px, 8vw, 110px) clamp(22px, 6vw, 92px); background: #e9edf2; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.process-grid article { background: white; padding: 28px; border-top: 5px solid var(--ink); }
.process-grid b { display: grid; place-items: center; width: 38px; height: 38px; background: var(--orange); color: white; margin-bottom: 30px; }
.process-grid h3 { font-size: 1.25rem; margin-bottom: 8px; }
.process-grid p { color: #647083; margin-bottom: 0; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(34px, 6vw, 84px); padding: clamp(58px, 7vw, 92px) clamp(22px, 6vw, 92px); background: var(--orange); color: white; }
.contact .eyebrow { color: var(--ink); }
.contact h2 { margin-bottom: 16px; }
.contact-intro > p:last-of-type { font-size: 1.1rem; }
.direct-contact { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.direct-contact a { font-weight: 850; color: white; }
.estimate-form { padding: clamp(22px, 4vw, 38px); background: white; color: var(--ink); box-shadow: 0 24px 55px rgba(11, 23, 40, .2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.estimate-form label { display: grid; gap: 7px; font-weight: 800; font-size: .92rem; }
.estimate-form label span { font-weight: 600; color: #758195; }
.estimate-form input, .estimate-form select, .estimate-form textarea { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid #bdc6d2; border-radius: 3px; background: white; color: var(--ink); font: inherit; }
.estimate-form textarea { min-height: 124px; resize: vertical; }
.estimate-form input:focus, .estimate-form select:focus, .estimate-form textarea:focus { outline: 3px solid rgba(249, 115, 22, .25); border-color: var(--orange-dark); }
.form-wide { grid-column: 1 / -1; }
.form-note { margin: 16px 0; color: #637083; font-size: .9rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.estimate-form button { border: 0; cursor: pointer; font: inherit; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #1b2c43; }
.form-status { min-height: 1.5em; margin: 10px 0 0; color: #526075; font-weight: 700; }
.button-light { flex: 0 0 auto; background: white; color: var(--ink); }
.button-light:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(11,23,40,.18); }

footer { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); align-items: center; gap: 24px; padding: 34px clamp(22px, 6vw, 92px); background: #07101d; color: #9eabbc; font-size: .88rem; }
footer p { margin: 0; }
footer p a { color: white; font-weight: 750; }
.footer-brand { color: white; }
.footer-logo { display: block; width: 136px; height: auto; border-radius: 2px; }

.ai-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 30; display: flex; align-items: center; gap: 11px; padding: 12px 16px 12px 12px; border: 0; border-radius: 999px; background: var(--orange); color: white; box-shadow: 0 15px 40px rgba(5, 15, 29, .35); cursor: pointer; font: inherit; text-align: left; }
.ai-launcher:hover { background: var(--orange-dark); transform: translateY(-2px); }
.ai-launcher.is-hidden { display: none; }
.ai-launcher-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: white; color: var(--orange); font-size: 1.35rem; }
.ai-launcher strong, .ai-launcher small { display: block; }
.ai-launcher strong { font-size: .94rem; }
.ai-launcher small { margin-top: 1px; color: #fff2e9; font-size: .74rem; }
.ai-panel { position: fixed; right: 22px; bottom: 22px; z-index: 31; display: none; flex-direction: column; width: min(410px, calc(100vw - 28px)); height: min(640px, calc(100vh - 44px)); overflow: hidden; border: 1px solid #cad2dd; border-radius: 16px; background: white; box-shadow: 0 22px 70px rgba(4, 13, 26, .36); }
.ai-panel.is-open { display: flex; }
.ai-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 17px; background: var(--ink); color: white; }
.ai-panel-head > div { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; }
.ai-panel-head strong, .ai-panel-head small { grid-column: 2; }
.ai-panel-head small { color: #b9c5d4; font-size: .76rem; }
.ai-status-dot { grid-row: 1 / 3; width: 10px; height: 10px; border-radius: 50%; background: #35c56f; box-shadow: 0 0 0 4px rgba(53,197,111,.16); }
.ai-panel-head button { border: 0; background: transparent; color: white; cursor: pointer; font-size: 1.8rem; line-height: 1; }
.ai-progress { height: 4px; background: #e7ebf0; }
.ai-progress span { display: block; width: 0; height: 100%; background: var(--orange); transition: width .25s ease; }
.ai-conversation { flex: 1; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: 18px; background: #f4f6f9; }
.ai-bubble { max-width: 86%; padding: 11px 13px; border-radius: 13px; font-size: .94rem; line-height: 1.45; }
.ai-bubble.assistant { align-self: flex-start; border: 1px solid #dce2e9; border-bottom-left-radius: 3px; background: white; }
.ai-bubble.customer { align-self: flex-end; border-bottom-right-radius: 3px; background: var(--ink); color: white; }
.ai-reply { padding: 14px; border-top: 1px solid #dce2e9; background: white; }
.ai-reply input, .ai-reply textarea { width: 100%; min-height: 47px; padding: 11px 12px; border: 1px solid #b9c3cf; border-radius: 7px; color: var(--ink); font: inherit; resize: vertical; }
.ai-reply input:focus, .ai-reply textarea:focus { outline: 3px solid rgba(249,115,22,.2); border-color: var(--orange); }
.ai-next { width: 100%; min-height: 47px; margin-top: 9px; border: 0; border-radius: 7px; background: var(--orange); color: white; cursor: pointer; font: 800 .95rem inherit; }
.ai-choices { display: grid; gap: 8px; }
.ai-choices button { min-height: 43px; padding: 9px 11px; border: 1px solid #bdc6d2; border-radius: 7px; background: white; color: var(--ink); cursor: pointer; font: 750 .9rem inherit; text-align: left; }
.ai-choices button:hover { border-color: var(--orange); background: #fff5ee; }
.ai-finish-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-finish-actions a { display: grid; place-items: center; min-height: 45px; padding: 9px; border-radius: 7px; background: var(--orange); color: white; font-weight: 800; text-decoration: none; text-align: center; }
.ai-finish-actions a:last-child { grid-column: 1 / -1; background: var(--ink); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 630px; }
  .hero-media { min-height: 540px; clip-path: none; }
  .hero-copy::after { display: none; }
  .section-heading { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-project .featured-project-copy { grid-template-columns: 1fr 1fr; }
  .google-project-button { justify-self: start; }
  .work { grid-template-columns: 1fr; }
  .work-photo { max-height: 680px; }
  .contact { grid-template-columns: 1fr; }
  .proof-bar { grid-template-columns: 1fr; }
  .proof-bar article, .proof-bar article:last-child { min-height: auto; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-header { min-height: 78px; padding: 7px 18px; }
  .brand-logo { width: 132px; }
  nav > a:not(.nav-cta), .nav-assistant { display: none; }
  .nav-cta { padding: 10px 13px; }
  .hero-copy { min-height: 600px; padding: 68px 22px 54px; }
  h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-media { min-height: 470px; }
  .trust-row span:not(:last-child)::after { display: none; }
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .featured-project .featured-project-media { grid-template-columns: 1fr; }
  .featured-project .featured-project-media video, .featured-project .featured-project-media img { height: auto; max-height: none; }
  .featured-project .featured-project-media img { border-top: 1px solid #2f3d50; border-left: 0; }
  .featured-project .featured-project-copy { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .video-card video { max-height: 620px; }
  .service-grid article { min-height: auto; }
  .contact { align-items: stretch; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .form-actions .button { width: 100%; }
  .button-light { width: 100%; }
  footer { grid-template-columns: 1fr; }
  .ai-launcher { right: 12px; bottom: 12px; }
  .ai-panel { right: 7px; bottom: 7px; width: calc(100vw - 14px); height: calc(100vh - 14px); border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
