:root {
  --ink: #111718;
  --ink-2: #1c2527;
  --paper: #f4f3ee;
  --white: #fff;
  --red: #e20101;
  --red-dark: #a80000;
  --slate: #4f5b5e;
  --muted: #6b7779;
  --line: #d8ddda;
  --max: 1240px;
  --radius: 2px;
}

html { scroll-behavior: smooth; }
body { color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; }
body, button, input, textarea, select { font-size: 16px; }
h1, h2, h3 { font-family: "Segoe UI", Inter, Arial, sans-serif; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 4.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.container { width: min(calc(100% - 48px), var(--max)); }
.narrow { max-width: 900px; }
.eyebrow { color: var(--red); font-size: .74rem; letter-spacing: .18em; }
.lead-copy, .lead-copy p { color: var(--slate); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.75; }
.section { padding-block: clamp(5rem, 9vw, 8.5rem); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--white); }
.section--red { background: var(--red-dark); color: var(--white); }
.section-heading { max-width: 820px; }
.section-heading p:not(.eyebrow), .section-note { color: inherit; opacity: .72; max-width: 720px; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-heading-row .section-heading { margin-bottom: 0; }

.button { min-height: 52px; border-radius: var(--radius); letter-spacing: .08em; }
.button--red { background: var(--red); border-color: var(--red); color: var(--white); }
.button--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.button--ghost { border-color: rgba(255,255,255,.55); }
.text-link { position: relative; padding-bottom: .2rem; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: left; transition: transform .2s; }
.text-link:hover::after { transform: scaleX(.55); }
.text-link--light { color: var(--white); }

.site-header { position: sticky; top: 0; z-index: 70; height: 88px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.header-inner { min-height: 88px; }
.brand { display: flex; align-items: center; gap: .85rem; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--red); color: var(--white); font-size: .86rem; font-weight: 900; letter-spacing: .05em; }
.brand-name, .brand-tagline { display: block; }
.brand-name { color: var(--red); font-size: 1rem; line-height: 1.1; }
.brand-tagline { padding: 0; margin-top: .15rem; border: 0; color: var(--muted); font-size: .68rem; font-weight: 600; }
.main-nav { gap: 1.35rem; }
.main-nav > a:not(.button) { font-size: .78rem; letter-spacing: .03em; }

.hero { min-height: calc(100svh - 88px); align-items: center; }
.hero-media::after { background: linear-gradient(90deg, rgba(10,17,18,.95) 0%, rgba(10,17,18,.75) 48%, rgba(10,17,18,.2) 100%); }
.hero-content { max-width: 970px; padding-block: clamp(5rem, 12vh, 9rem); }
.hero h1 { max-width: 920px; line-height: .94; }
.hero-subtitle { max-width: 720px; font-size: clamp(1.08rem, 2vw, 1.4rem); }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 720px; margin-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.22); }
.hero-proof div { padding: 1.35rem 1.5rem 0 0; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-size: 1.65rem; }
.hero-proof span { color: rgba(255,255,255,.65); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }

.technology-strip { overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); }
.technology-strip__label { padding-block: 1rem .3rem; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.technology-ticker { overflow: hidden; }
.technology-ticker__track { display: flex; width: max-content; animation: fg-ticker 28s linear infinite; will-change: transform; }
.technology-mark { display: grid; place-items: center; flex: 0 0 230px; min-width: 230px; padding: 1.35rem 2.5rem 1.75rem; }
.technology-logo { display: block; width: min(170px, 100%); height: 48px; object-fit: contain; }
@keyframes fg-ticker { to { transform: translate3d(-50%, 0, 0); } }

.split--statement { align-items: start; }
.split--statement .lead-copy { padding-top: .5rem; }
.outcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 5rem; background: var(--line); border: 1px solid var(--line); }
.outcome-grid article { min-height: 270px; padding: 2rem; background: var(--white); }
.outcome-grid span, .benefit-grid span, .value-list span, .ai-grid span, .scenario-grid > article > span { color: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.outcome-grid span { font-size: 1rem; }
.value-list span { font-size: 1rem; }
.outcome-grid h3 { margin-top: 4rem; }
.outcome-grid p { color: var(--muted); }

.card-grid--services { gap: 1px; background: var(--white); border: 1px solid var(--line); }
.service-card { display: flex; flex-direction: column; min-height: 330px; padding: 2rem; background: var(--white); }
.service-card__number { margin-bottom: auto; color: var(--red); font-size: 1rem; font-weight: 900; letter-spacing: .13em; }
.service-card h2, .service-card h3 { margin: 2.5rem 0 .9rem; }
.service-card p { color: var(--muted); }
.service-card .text-link { margin-top: auto; }

.feature-panel { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--white); }
.feature-panel__media img { width: 100%; height: 100%; min-height: 720px; object-fit: cover; }
.feature-panel__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); }
.feature-panel__copy p:not(.eyebrow) { color: rgba(255,255,255,.7); font-size: 1.1rem; }
.feature-panel__copy .button { width: fit-content; margin-top: 2rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 2rem; }
.pill-list span, .tag-cloud span { padding: .7rem .9rem; border: 1px solid rgba(255,255,255,.22); font-size: .76rem; font-weight: 700; }

.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.industry-card { position: relative; min-height: 350px; overflow: hidden; background: var(--ink); color: var(--white); }
.industry-card__image, .industry-card__image img { position: absolute; inset: 0; width: 100%; height: 100%; }
.industry-card__image img { object-fit: cover; transition: transform .5s; }
.industry-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,17,18,.92), rgba(10,17,18,.05) 72%); }
.industry-card__overlay { position: absolute; z-index: 2; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; }
.industry-card__overlay strong, .industry-card__overlay small { display: block; }
.industry-card__overlay strong { font-size: 1.35rem; }
.industry-card__overlay small { margin-top: .4rem; color: rgba(255,255,255,.72); }
.industry-card:hover img { transform: scale(1.04); }
.industry-grid .industry-card:first-child { grid-column: span 2; }
.industry-grid--hub .industry-card { min-height: 430px; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.case-card { display: flex; flex-direction: column; justify-content: center; min-height: 390px; padding: 2rem; background: var(--ink-2); }
.case-label { width: fit-content; padding: .45rem .65rem; background: var(--red); color: var(--white); font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.case-industry { color: rgba(255,255,255,.58); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.case-card h2, .case-card h3 { margin: .5rem 0 1rem; }
.case-card > p:not(.case-industry) { color: rgba(255,255,255,.68); }
.case-card .text-link { margin-top: 2.25rem; align-self: flex-start; }

.value-section { overflow: hidden; }
.value-list { border-top: 1px solid var(--line); }
.value-list article { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.value-list h3 { margin: 0 0 .4rem; }
.value-list p { margin: 0; color: var(--muted); }

.page-hero { padding-block: clamp(6rem, 11vw, 10rem); }
.page-hero--dark { background: var(--ink); color: var(--white); }
.page-hero--dark p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.page-hero--image { background-image: linear-gradient(90deg, rgba(10,17,18,.92), rgba(10,17,18,.7) 50%, rgba(10,17,18,.28)), var(--page-hero-image); background-position: center; background-size: cover; color: var(--white); }
.page-hero--image p:not(.eyebrow) { color: rgba(255,255,255,.76); }
.page-hero-inner { max-width: 1040px; }
.page-hero h1 { font-size: clamp(3.3rem, 7vw, 6.4rem); }
.page-hero p:not(.eyebrow) { max-width: 780px; }

.detail-hero { background: var(--paper); }
.detail-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 680px; }
.detail-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 6vw, 6rem) clamp(4rem, 8vw, 7rem) 0; }
.detail-hero__copy h1 { font-size: clamp(3.1rem, 6vw, 5.8rem); }
.detail-hero__copy > p:not(.eyebrow) { max-width: 680px; color: var(--slate); font-size: 1.2rem; }
.detail-hero__media { min-height: 540px; }
.detail-hero__media img { width: 100%; height: 100%; object-fit: cover; }

.check-panel { padding: clamp(2rem, 5vw, 4rem); background: var(--ink); color: var(--white); }
.location-map { margin-top: 2rem; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.location-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding: 1rem 0 1rem 2rem; border-bottom: 1px solid currentColor; border-color: rgba(128,128,128,.3); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.benefit-grid article { min-height: 260px; padding: 2rem; background: var(--white); }
.benefit-grid h3 { margin-top: 6rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.process-grid li { min-height: 280px; padding: 2rem; background: var(--white); }
.process-grid h3 { margin-top: 7rem; }
.technology-panel { background: #182123; color: var(--white); }
.technology-panel p { color: rgba(255,255,255,.64); }
.tag-cloud { display: flex; flex-wrap: wrap; align-content: center; gap: .7rem; }
.scenario-callout { max-width: 960px; }
.scenario-callout .eyebrow { color: var(--white); opacity: .7; }
.scenario-callout h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.scenario-callout > p { opacity: .7; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.ai-grid article { min-height: 270px; padding: 2rem; background: var(--ink-2); }
.ai-grid h3 { margin-top: 4rem; }
.ai-grid p { color: rgba(255,255,255,.65); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem 3.5rem 1.5rem 0; cursor: pointer; font-size: 1.08rem; font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span::before, .faq-item summary span::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 18px; height: 2px; background: var(--red); }
.faq-item summary span::after { transform: rotate(90deg); transition: transform .2s; }
.faq-item[open] summary span::after { transform: rotate(0); }
.faq-answer { max-width: 740px; padding: 0 3rem 1.5rem 0; color: var(--slate); }

.final-cta { background: var(--ink); color: var(--white); }
.final-cta__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.final-cta__grid > div > p:not(.eyebrow) { color: rgba(255,255,255,.68); font-size: 1.08rem; }
.final-cta .contact-form { padding: clamp(1.5rem, 4vw, 3rem); background: var(--white); color: var(--ink); }
.contact-form { gap: 1rem; }
.contact-form input, .contact-form textarea { border-color: #aab2b1; border-radius: 0; }
.checkbox-label { align-items: start; }
.contact-form button[disabled] { cursor: wait; opacity: .65; }

.scenario-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.scenario-grid article { min-height: 380px; padding: 2rem; background: var(--white); }
.scenario-grid h2 { margin-top: 5rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.scenario-grid p { color: var(--slate); }
.project-facts { margin: 0; border-top: 1px solid var(--line); }
.project-facts div { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.project-facts dt { font-weight: 800; }
.project-facts dd { margin: 0; color: var(--slate); }
.disclosure { margin-top: 3rem; padding: 1rem 1.25rem; border-left: 4px solid var(--red); background: var(--white); }

.booking-layout { align-items: start; }
.booking-shell--native { border-top: 4px solid var(--red); box-shadow: 0 20px 60px rgba(17,23,24,.08); }
.site-footer { background: #0b1011; }
.footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; }

@media (max-width: 1080px) {
  .main-nav { gap: .8rem; }
  .main-nav > a:not(.button) { font-size: .72rem; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-hero__grid { grid-template-columns: 1fr; }
  .detail-hero__copy { padding-right: 0; }
  .detail-hero__media { min-height: 500px; }
}

@media (max-width: 960px) {
  .site-header, .header-inner { height: 82px; min-height: 82px; }
  .main-nav { top: 82px; gap: 0; }
  .main-nav > a:not(.button) { font-size: .95rem; }
  .card-grid--services, .case-grid, .benefit-grid, .ai-grid, .scenario-grid { grid-template-columns: 1fr 1fr; }
  .feature-panel, .final-cta__grid { grid-template-columns: 1fr; }
  .feature-panel__media img { min-height: 520px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .scenario-callout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .brand-tagline { display: none; }
  .hero { min-height: calc(100svh - 82px); }
  .hero-media::after { background: linear-gradient(0deg, rgba(10,17,18,.96), rgba(10,17,18,.42)); }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof div { display: grid; grid-template-columns: 70px 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.14); padding: .8rem 0; }
  .section-heading-row { display: block; }
  .section-heading-row > .text-link { display: inline-block; margin-top: 1.5rem; }
  .outcome-grid, .card-grid--services, .case-grid, .benefit-grid, .process-grid, .ai-grid, .scenario-grid, .industry-grid { grid-template-columns: 1fr; }
  .industry-grid .industry-card:first-child { grid-column: auto; }
  .industry-card { min-height: 360px; }
  .feature-panel__media img { min-height: 380px; }
  .feature-panel__copy { padding: 3rem 1.25rem; }
  .detail-hero__media { min-height: 360px; }
  .service-card, .case-card, .scenario-grid article { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .technology-ticker__track { animation: none; }
  .industry-card__image img { transition: none; }
}
