:root {
  --ink: #101820;
  --ink-2: #18232d;
  --blue: #087ec1;
  --blue-dark: #005b92;
  --blue-soft: #e8f5fc;
  --white: #ffffff;
  --paper: #f5f7f8;
  --line: #d8e0e5;
  --muted: #586773;
  --success: #146c43;
  --shadow: 0 18px 48px rgba(16, 24, 32, 0.14);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--white);
}
.skip-link:focus { left: 12px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.section { padding: 88px 0; }
.section-sm { padding: 52px 0; }
.section-dark { color: var(--white); background: var(--ink); }
.section-blue { color: var(--white); background: var(--blue-dark); }
.section-paper { background: var(--paper); }
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.section-dark .eyebrow, .section-blue .eyebrow { color: #7ed1ff; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5.6rem); max-width: 840px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.65rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1rem; }
.lead { max-width: 700px; color: #d9e4eb; font-size: clamp(1.06rem, 2vw, 1.28rem); }
.section-heading { display: grid; gap: 12px; max-width: 760px; margin-bottom: 38px; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p, .section-blue .section-heading p { color: #d7e5ed; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(16,24,32,.1);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: .94rem; letter-spacing: -.01em; }
.brand-copy span { margin-top: 6px; color: var(--muted); font-size: .67rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 720; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-dark); }
.nav .nav-cta { padding: 12px 17px; color: var(--white); background: var(--blue); border-radius: 10px; }
.nav .nav-cta:hover { color: var(--white); background: var(--blue-dark); }
.menu-button { display: none; border: 0; padding: 10px; background: transparent; color: var(--ink); }
.menu-button span { display: block; width: 26px; height: 2px; margin: 5px 0; background: currentColor; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(10,17,23,.97) 0%, rgba(10,17,23,.91) 53%, rgba(10,17,23,.35) 100%),
    url('/assets/hero-home-v2.webp') center center / cover;
}
.hero::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -130px;
  width: 55%;
  height: 190px;
  background: var(--blue);
  transform: rotate(-6deg);
  opacity: .92;
}
.hero-inner { position: relative; z-index: 1; min-height: 720px; display: grid; align-content: center; padding: 92px 0 120px; }
.hero h1 span { color: #54bdf4; }
.hero .lead { margin: 24px 0 30px; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-weight: 820;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: #0690db; }
.button-light { color: var(--ink); background: var(--white); }
.button-outline { color: var(--white); border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.03); }
.button-dark { color: var(--white); background: var(--ink); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 34px; margin-top: 42px; font-size: .9rem; font-weight: 760; }
.hero-proof span::before { content: "✓"; margin-right: 8px; color: #64caff; font-weight: 900; }

.trust-strip { position: relative; z-index: 3; margin-top: -42px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.trust-item { min-height: 114px; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 14px; padding: 24px; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-icon { width: 46px; height: 46px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-weight: 900; }
.trust-item strong { display: block; }
.trust-item span { color: var(--muted); font-size: .9rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.card-number { color: var(--blue); font-size: .8rem; font-weight: 900; letter-spacing: .12em; }
.card h3 { margin: 20px 0 10px; }
.card p { color: var(--muted); }
.card-link { color: var(--blue-dark); font-weight: 800; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

.price-feature { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: 24px; background: var(--ink); box-shadow: var(--shadow); }
.price-copy { padding: 54px; color: var(--white); }
.price-copy h2 { max-width: 650px; }
.price-copy p { max-width: 620px; margin: 18px 0 26px; color: #cbd8df; }
.price-panel { display: grid; align-content: center; padding: 50px; color: var(--ink); background: var(--blue-soft); }
.price { font-size: clamp(3.8rem, 8vw, 6.6rem); font-weight: 900; line-height: .9; letter-spacing: -.07em; }
.price sup { font-size: .38em; vertical-align: top; }
.price-note { margin-top: 14px; color: var(--muted); font-weight: 680; }
.fine-print { margin-top: 16px; color: var(--muted); font-size: .82rem; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-shot { position: relative; overflow: hidden; min-height: 500px; border-radius: var(--radius); background: #cdd5da; }
.project-shot img { width: 100%; height: 100%; object-fit: cover; }
.project-label { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; color: var(--white); background: rgba(10,17,23,.86); border-radius: 999px; font-size: .78rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-copy p { color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 24px 0 30px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.image-frame { position: relative; }
.image-frame::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; background: var(--blue); border-radius: var(--radius); }
.image-frame img { position: relative; width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.banner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 28px; padding: 42px 48px; color: var(--white); background: var(--blue-dark); border-radius: 22px; }
.banner h2 { font-size: clamp(1.9rem, 3.6vw, 3.1rem); }
.banner p { margin: 10px 0 0; color: #d9eef8; }

.page-hero { position: relative; overflow: hidden; padding: 96px 0 84px; color: var(--white); background: var(--ink); }
.page-hero::after { content: ""; position: absolute; right: -8%; bottom: -75px; width: 46%; height: 120px; background: var(--blue); transform: rotate(-7deg); }
.page-hero h1 { font-size: clamp(2.7rem, 5.5vw, 5rem); }
.page-hero p { max-width: 740px; margin-top: 22px; color: #d4e0e7; font-size: 1.15rem; }

.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.service-row { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.service-row .trust-icon { width: 48px; height: 48px; }
.service-row p { margin: 8px 0 0; color: var(--muted); }
.note { padding: 22px; border-left: 5px solid var(--blue); background: var(--blue-soft); }

.work-stack { display: grid; gap: 72px; }
.case-study { padding-top: 34px; border-top: 1px solid var(--line); }
.case-study:first-child { padding-top: 0; border-top: 0; }
.case-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; margin-bottom: 24px; }
.case-head p { max-width: 700px; margin: 10px 0 0; color: var(--muted); }
.case-type { color: var(--blue-dark); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.case-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.case-photos.two { grid-template-columns: repeat(2, 1fr); }
.case-photo { position: relative; overflow: hidden; min-height: 460px; margin: 0; border-radius: 16px; background: #d8e0e5; }
.case-photo img { width: 100%; height: 100%; object-fit: cover; }
.case-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 11px; color: var(--white); background: rgba(10,17,23,.86); border-radius: 999px; font-size: .75rem; font-weight: 840; letter-spacing: .08em; text-transform: uppercase; }

.membership-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.membership-top { padding: 48px; color: var(--white); background: var(--ink); }
.membership-price { margin: 20px 0 8px; font-size: clamp(3.6rem, 7vw, 6.3rem); font-weight: 900; line-height: .92; letter-spacing: -.065em; }
.membership-price span { font-size: 1rem; letter-spacing: 0; }
.membership-body { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 46px; }
.membership-body h3 { margin-bottom: 16px; }
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table th, .rate-table td { padding: 14px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.rate-table th { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

.form-shell { display: grid; grid-template-columns: .78fr 1.22fr; overflow: hidden; border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.form-side { padding: 46px; color: var(--white); background: var(--ink); }
.form-side h2 { font-size: 2.3rem; }
.form-side p { margin-top: 18px; color: #d2dee5; }
.form-side .check-list { color: #ecf4f8; }
.form-side a { color: #79cefb; font-weight: 780; }
.estimate-form { padding: 46px; }
.request-form-wrap {
  min-width: 0;
  padding: 34px 38px 42px;
  background: var(--white);
}
.request-form-wrap > div { min-width: 0; }
.request-form-help {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}
.request-form-help a { color: var(--blue-dark); font-weight: 800; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 760; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bac6cd;
  border-radius: 9px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(8,126,193,.2); border-color: var(--blue); }
.field textarea { min-height: 150px; resize: vertical; }
.field small { color: var(--muted); }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.form-actions button { cursor: pointer; }
.form-status { display: none; margin-top: 18px; padding: 14px; border-radius: 8px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; }
.form-status.show { display: block; }

.legal-copy { max-width: 820px; }
.legal-copy h2 { margin-top: 42px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.legal-copy p, .legal-copy li { color: var(--muted); }
.legal-copy p { margin-top: 14px; }
.legal-copy ul { display: grid; gap: 10px; margin: 16px 0 0; padding-left: 22px; }
.legal-copy a { color: var(--blue-dark); font-weight: 700; }

.site-footer { color: #dce5ea; background: #0a1117; }
.footer-main { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 60px; padding: 64px 0 46px; }
.footer-logo { width: 100px; margin-bottom: 18px; }
.footer-main h3 { margin-bottom: 16px; color: var(--white); font-size: 1rem; letter-spacing: .03em; }
.footer-main p { max-width: 460px; color: #aebdc6; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #dce5ea; text-decoration: none; }
.footer-links a:hover { color: #71ccfb; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); color: #91a3ae; font-size: .82rem; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav { position: absolute; top: 80px; left: 0; right: 0; display: none; padding: 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 15px 35px rgba(0,0,0,.12); }
  .nav.open { display: grid; }
  .nav .nav-cta { text-align: center; }
  .hero-inner { min-height: 650px; }
  .trust-grid, .grid-3, .project-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .price-feature, .split, .form-shell { grid-template-columns: 1fr; }
  .project-shot { min-height: 420px; }
  .image-frame { max-width: 650px; }
  .banner { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .case-head { grid-template-columns: 1fr; }
  .case-photos, .case-photos.two { grid-template-columns: 1fr; }
  .case-photo { min-height: 520px; }
  .membership-body { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 66px 0; }
  .brand-copy { display: none; }
  .hero-inner { min-height: 650px; padding-top: 72px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 10px; }
  .price-copy, .price-panel, .membership-top, .membership-body, .form-side, .estimate-form, .request-form-wrap { padding: 30px 24px; }
  .project-shot { min-height: 360px; }
  .case-photo { min-height: 420px; }
  .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-main > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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

/* Keep the request form immediately accessible on ad landing visits. */
.estimate-page .estimate-intro { padding: 22px 0 12px; }
.estimate-page .estimate-intro h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
.estimate-page .estimate-intro p { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.estimate-page .estimate-request { padding: 0 0 40px; }
.estimate-page .form-shell { display: block; max-width: 860px; }
.estimate-page .request-form-wrap { padding: 12px 16px 24px; }
@media (max-width: 640px) {
  .estimate-page .estimate-intro { padding-top: 16px; }
  .estimate-page .request-form-wrap { padding: 8px 4px 20px; }
}

.request-form-frame { display: block; width: 100%; height: 1250px; border: 0; background: #f5f5f5; }
@media (max-width: 640px) { .request-form-frame { height: 1450px; } }
