:root {
  color-scheme: light;
  --red: #ba2027;
  --red-dark: #8f171d;
  --blue: #01689b;
  --blue-dark: #034f78;
  --ink: #191f43;
  --muted: #73798b;
  --line: #e6e8f0;
  --surface: #f1f1ff;
  --paper: #fff;
  --warm: #fff0e6;
  --mint: #d9f0e5;
  --font-sans: 'Arial', 'Aptos', 'Segoe UI', sans-serif;
  --font-display: Georgia, 'Times New Roman', serif;
  --page-width: 1240px;
  --shadow: 0 22px 60px rgb(25 31 67 / 9%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.65 var(--font-sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #f58b4b; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-160%); padding: .7rem 1rem; color: white; background: var(--ink); border-radius: .5rem; }
.skip-link:focus { transform: none; }
.container { width: min(var(--page-width), calc(100% - 9vw)); margin-inline: auto; }
.site-header { position: relative; z-index: 20; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 2rem; }
.brand { display: flex; align-items: center; text-decoration: none; min-width: 145px; }
.brand img { width: 145px; height: auto; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.5vw, 2.6rem); font-size: .8rem; font-weight: 600; }
.primary-nav a, .nav-dropdown summary { text-decoration: none; transition: color .2s ease; cursor: pointer; }
.primary-nav a:hover, .nav-dropdown summary:hover, .primary-nav a[aria-current="page"] { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { list-style: none; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after { content: '⌄'; margin-left: .4rem; }
.dropdown-menu { position: absolute; z-index: 30; top: calc(100% + .8rem); left: -.8rem; display: grid; gap: .15rem; min-width: 270px; max-height: 70vh; overflow: auto; padding: .55rem; background: white; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
.dropdown-menu a { padding: .55rem .7rem; border-radius: .5rem; font-weight: 500; }
.dropdown-menu a:hover { color: var(--blue); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .65rem 1.15rem; color: white; background: var(--blue); border: 1px solid var(--blue); border-radius: .65rem; text-decoration: none; font-size: .82rem; font-weight: 700; transition: background .2s, transform .2s; }
.nav-contact:hover, .button-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: .65rem; background: white; color: var(--ink); cursor: pointer; }

.hero { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 7.5rem) 0 3rem; background: radial-gradient(ellipse at 15% 25%, rgb(255 232 219 / 76%), transparent 34%), radial-gradient(ellipse at 47% 55%, rgb(222 229 255 / 70%), transparent 35%); }
.hero::after { position: absolute; content: ''; width: 340px; aspect-ratio: 1; border: 1px solid rgb(25 31 67 / 12%); border-radius: 50%; top: -150px; right: -85px; box-shadow: 0 0 0 34px rgb(255 255 255 / 30%), 0 0 0 35px rgb(25 31 67 / 9%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem; color: var(--blue); font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.055em; line-height: 1.06; }
h1 { max-width: 940px; margin-bottom: 1.4rem; font-size: clamp(3.4rem, 8.8vw, 7.7rem); font-weight: 700; }
h1 em, h2 em { font-family: var(--font-display); font-weight: 600; }
.hero-copy { display: grid; grid-template-columns: minmax(100px, 1fr) minmax(260px, 570px); gap: 2rem; align-items: start; margin: 1.1rem 0 2.6rem; }
.hero-copy::before { content: ''; justify-self: end; width: 58px; height: 1px; margin-top: .8rem; background: var(--ink); }
.hero-copy p { max-width: 570px; margin: 0; font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 600; }
.hero-showcase { display: grid; grid-template-columns: 1.65fr .9fr; gap: 1.1rem; align-items: stretch; }
.visual-card { position: relative; display: flex; min-height: 300px; overflow: hidden; align-items: end; padding: clamp(1.5rem, 4vw, 3rem); color: white; background: var(--ink); border-radius: 1.3rem .45rem 1.3rem .45rem; }
.visual-card::before { content: ''; position: absolute; z-index: 0; inset: 0; background: linear-gradient(90deg, rgb(25 31 67 / 75%), rgb(25 31 67 / 20%)); }
.visual-card-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visual-card-content { position: relative; z-index: 1; max-width: 520px; padding: 1rem 1.2rem; background: rgb(25 31 67 / 78%); border: 1px solid rgb(255 255 255 / 20%); border-radius: .8rem; box-shadow: 0 10px 32px rgb(0 0 0 / 18%); backdrop-filter: blur(4px); }
.visual-card .eyebrow { color: white; }
.visual-card h2 { max-width: 520px; margin-bottom: .6rem; font-size: clamp(1.8rem, 3.3vw, 3rem); }
.visual-card p { max-width: 440px; margin: 0; color: rgb(255 255 255 / 90%); }
.stats-card { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--surface); border-radius: 1.2rem .5rem 1.2rem .5rem; }
.stats-card > p { max-width: 260px; font-weight: 700; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat + .stat { padding-left: 1.2rem; border-left: 1px solid #d8dbea; }
.stat strong { display: block; color: var(--red); font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1; letter-spacing: -.06em; }
.stat span { color: var(--muted); font-size: .76rem; }
.hero-action { position: absolute; right: calc(30% + .35rem); bottom: -.55rem; z-index: 3; }
.button-primary, .button-secondary { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 50px; padding: .8rem 1.2rem; border: 1px solid transparent; border-radius: .65rem; font-weight: 700; font-size: .86rem; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.button-primary { color: white; background: var(--blue); }
.button-secondary { color: var(--ink); background: white; border-color: var(--line); }
.button-secondary:hover { border-color: var(--blue); color: var(--blue); }

.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section-soft { background: linear-gradient(125deg, #fff 0%, #fff 45%, #f8f8ff 100%); }
.section-heading { max-width: 680px; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 1rem; font-size: clamp(2.5rem, 5.5vw, 5rem); }
.section-heading p { max-width: 620px; color: var(--muted); font-size: 1.08rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 8vw, 7rem); align-items: center; }
.split-copy h2 { margin-bottom: 1.5rem; font-size: clamp(2.5rem, 5.4vw, 4.8rem); }
.split-copy p { color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.2rem); }
.art-panel { position: relative; min-height: 380px; overflow: hidden; padding: 2rem; background: var(--warm); border-radius: .4rem 1.4rem .4rem 1.4rem; }
.art-panel::before, .art-panel::after { position: absolute; content: ''; border-radius: 50%; }
.art-panel::before { width: 250px; height: 250px; top: 14%; left: 14%; background: rgb(186 32 39 / 82%); box-shadow: 120px 70px 0 -28px rgb(1 104 155 / 80%); }
.art-panel::after { width: 110px; height: 110px; right: 10%; bottom: 8%; background: #fff; border: 12px solid rgb(1 104 155 / 18%); }
.art-label { position: absolute; z-index: 1; right: 1.2rem; bottom: 1.2rem; max-width: 190px; padding: 1rem; color: var(--ink); background: white; border-radius: .8rem; font-size: .82rem; font-weight: 700; box-shadow: var(--shadow); }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; border-top: 1px solid var(--line); }
.feature { padding: 2rem 1.5rem 0; text-align: center; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature-icon { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 1rem; color: var(--blue); background: #e2eff6; border-radius: 50%; font-weight: 700; }
.feature:nth-child(2) .feature-icon { color: var(--red); background: #ffe6db; }
.feature h3 { margin-bottom: .5rem; font-size: 1.08rem; letter-spacing: -.03em; }
.feature p { margin: 0; color: var(--muted); font-size: .84rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service-card { display: flex; flex-direction: column; min-height: 250px; padding: 1.6rem; background: white; border: 1px solid var(--line); border-radius: .8rem 1.2rem .8rem 1.2rem; transition: transform .2s, box-shadow .2s, border-color .2s; }
.service-card:hover { transform: translateY(-4px); border-color: #c5d8e3; box-shadow: var(--shadow); }
.service-number { color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.service-card h3 { margin: 1.1rem 0 .7rem; font-size: 1.35rem; }
.service-card p { color: var(--muted); font-size: .9rem; }
.service-card a { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; color: var(--blue); font-size: .86rem; font-weight: 700; text-decoration: none; }
.service-card a::after { content: '↗'; }
.callout { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 4rem); color: white; background: var(--blue); border-radius: 1.3rem .4rem 1.3rem .4rem; }
.callout::after { content: ''; position: absolute; width: 340px; height: 340px; right: -90px; bottom: -220px; border: 1px solid rgb(255 255 255 / 22%); border-radius: 50%; box-shadow: 0 0 0 45px rgb(255 255 255 / 7%), 0 0 0 90px rgb(255 255 255 / 5%); }
.callout-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.callout h2 { max-width: 660px; margin: 0; font-size: clamp(2.3rem, 5vw, 4.5rem); }
.callout .button-primary { flex: 0 0 auto; color: var(--blue); background: white; }
.callout .button-primary:hover { color: var(--blue-dark); background: #eef8ff; }

.page-hero { padding: clamp(4rem, 8vw, 7rem) 0 3rem; background: radial-gradient(ellipse at 15% 35%, rgb(255 232 219 / 65%), transparent 36%), radial-gradient(ellipse at 82% 8%, rgb(225 231 255 / 75%), transparent 38%); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero-copy { min-width: 0; }
.page-hero-media { position: relative; aspect-ratio: 1.12; min-height: 280px; max-height: 430px; margin: 0; overflow: hidden; background: var(--surface); border-radius: 1.2rem .4rem 1.2rem .4rem; box-shadow: var(--shadow); }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-media img[src*="study-sourcing"] { object-position: center 42%; }
.page-hero h1 { max-width: 900px; font-size: clamp(3.2rem, 7vw, 6.7rem); }
.page-hero p { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; color: var(--muted); font-size: .78rem; }
.breadcrumbs a { color: var(--blue); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .7fr); gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.prose { max-width: 780px; }
.prose h2 { margin: 2.4rem 0 1rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.prose h3 { margin: 1.6rem 0 .6rem; font-size: 1.3rem; letter-spacing: -.035em; }
.prose p, .prose li { color: #535b6d; }
.prose ul { padding-left: 1.2rem; }
.prose li { padding-left: .35rem; margin-bottom: .45rem; }
.side-card { position: sticky; top: 1.5rem; padding: 1.5rem; background: var(--surface); border-radius: 1rem .4rem 1rem .4rem; }
.side-card h2 { font-size: 1.35rem; }
.side-card p { color: var(--muted); font-size: .9rem; }
.side-card .button-primary { width: 100%; }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.area-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: .8rem; background: white; }
.area-card h3 { margin-bottom: .5rem; font-size: 1.15rem; }
.area-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-card { padding: 2rem; background: var(--surface); border-radius: 1rem .4rem 1rem .4rem; }
.contact-item { margin-bottom: 1.4rem; }
.contact-item strong { display: block; margin-bottom: .25rem; }
.contact-item a { color: var(--blue); }
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 700; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: .75rem .85rem; color: var(--ink); background: white; border: 1px solid #cfd3df; border-radius: .5rem; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgb(1 104 155 / 15%); }
.form-status { min-height: 1.6em; margin: 0; color: var(--red-dark); font-size: .9rem; }
.form-note { color: var(--muted); font-size: .82rem; }
.contact-form[aria-busy="true"] { cursor: progress; }
.contact-form button:disabled { opacity: .7; cursor: wait; }
.hp-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Scroll reveals are enabled only after JavaScript and IntersectionObserver load. */
.reveal { --reveal-delay: 0ms; }
.has-reveal .reveal:not(.is-visible) { opacity: 0; transform: translateY(18px); }
.has-reveal .reveal { transition: opacity .65s ease var(--reveal-delay), transform .65s cubic-bezier(.2, .7, .25, 1) var(--reveal-delay); }
.has-reveal .reveal.is-visible { opacity: 1; transform: none; }

.site-footer { position: relative; overflow: hidden; margin-top: 2rem; padding: clamp(3rem, 7vw, 6rem) 0 1.5rem; color: white; background: #403fd6; }
.site-footer::before { content: ''; position: absolute; width: 540px; height: 540px; right: 8%; bottom: -410px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%; box-shadow: 0 0 0 70px rgb(255 255 255 / 7%), 0 0 0 140px rgb(255 255 255 / 4%); }
.footer-main { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: end; padding-bottom: 4rem; }
.footer-main h2 { max-width: 610px; margin: 0; font-size: clamp(2.5rem, 5.5vw, 5rem); }
.footer-main h2 em { color: #ffdbb0; }
.footer-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; font-size: .88rem; }
.footer-contact a { text-decoration: none; }
.footer-contact strong { display: block; margin-bottom: .25rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .7rem 1.4rem; padding: 1.5rem 0; border-top: 1px solid rgb(255 255 255 / 22%); font-size: .8rem; }
.footer-links a { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.3rem; border-top: 1px solid rgb(255 255 255 / 22%); color: rgb(255 255 255 / 80%); font-size: .75rem; }
.footer-bottom p { margin: 0; }
.footer-brand { display: flex; align-items: center; width: fit-content; margin-bottom: 1.5rem; padding: .5rem; background: white; border-radius: 25px; text-decoration: none; font-weight: 700; }
.footer-brand img { width: 130px; height: auto; object-fit: contain; }
.not-found { min-height: 52vh; display: grid; align-content: center; }
.not-found h1 { font-size: clamp(4rem, 12vw, 9rem); }

@media (max-width: 900px) {
  .container { width: min(var(--page-width), calc(100% - 2.5rem)); }
  .nav-wrap { min-height: 76px; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-actions .nav-contact { display: none; }
  .primary-nav { position: absolute; inset: 76px 1.25rem auto; display: none; align-items: stretch; gap: .1rem; padding: .75rem; background: white; border: 1px solid var(--line); border-radius: .9rem; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; }
  .primary-nav > a, .nav-dropdown summary { display: block; padding: .75rem; }
  .dropdown-menu { position: static; min-width: 0; max-height: 250px; margin: 0 .4rem .5rem; border: 0; box-shadow: none; background: #f8f8fc; }
  .hero-showcase { grid-template-columns: 1.25fr .9fr; }
  .visual-card { min-height: 280px; }
  .hero-action { right: calc(31% + .25rem); }
  .page-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(240px, .8fr); gap: 1.5rem; }
  .page-hero-media { min-height: 260px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 2rem); }
  .brand { min-width: 0; }
  .brand img { width: 118px; }
  .hero { padding-top: 3rem; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-copy { grid-template-columns: 32px 1fr; gap: 1rem; }
  .hero-copy::before { width: 28px; }
  .hero-showcase, .split, .content-grid, .contact-layout, .footer-main, .page-hero-grid { grid-template-columns: 1fr; }
  .visual-card { min-height: 310px; }
  .stats-card { min-height: 225px; }
  .hero-action { position: static; margin: -1rem 0 0 auto; width: fit-content; }
  .art-panel { min-height: 310px; }
  .feature-row { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .feature { padding: 1.3rem 0; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
  .card-grid, .area-list { grid-template-columns: 1fr; }
  .service-card { min-height: 220px; }
  .callout-inner { flex-direction: column; align-items: flex-start; }
  .side-card { position: static; }
  .footer-main { gap: 2rem; }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .site-footer { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .has-reveal .reveal, .has-reveal .reveal:not(.is-visible) { opacity: 1 !important; transform: none !important; }
}
