:root {
  --ink: #142b45;
  --deep: #102c49;
  --paper: #f7fbff;
  --muted: #465d74;
  --line: #cbdbe8;
  --accent: #c9dfc0;
  --sans: "Nunito", "Arial Rounded MT Bold", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid #4d7257; outline-offset: 5px; }
.case-hero :focus-visible { outline-color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--sans); font-weight: 800; line-height: 1.04; }
h1 em, h2 em { font-weight: 700; }
.wrap { width: min(100% - 104px, 1280px); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: 10px; z-index: 10; background: var(--accent); padding: 8px 14px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 5; background: var(--deep); color: var(--paper); border-bottom: 1px solid #345570; }
.header :focus-visible, .hero :focus-visible { outline-color: var(--accent); }
footer { background: #e8f2fa; color: var(--ink); }
.nav-row, .footer-row { display: flex; align-items: center; justify-content: space-between; min-height: 75px; }
.brand { display: inline-flex; align-items: center; padding: 4px 0; }
.brand img { width: 90px; height: auto; }
nav { display: flex; align-items: center; gap: 33px; }
nav a, .footer-row > a:last-child { text-decoration: none; font-size: .9rem; }
nav a:hover, .footer-row > a:last-child:hover { text-decoration: underline; }
nav a:hover, .nav-contact span { color: var(--accent); }
.nav-contact { border: 1px solid #829eb6; border-radius: 3px; padding: 8px 14px; }
.nav-contact span { margin-left: 8px; }
.menu { display: none; color: inherit; background: transparent; border: 1px solid #829eb6; border-radius: 3px; padding: 5px 12px; }
.hero { background: var(--deep); color: var(--paper); position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #102c49 8%, #102c49ef 34%, transparent 76%), url(assets/brand-contours.webp) center / cover; }
.hero-inner { min-height: 600px; position: relative; display: flex; align-items: center; padding-block: 80px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .map-caption, .compass, figcaption { font: 500 .72rem/1.5 var(--mono); letter-spacing: .085em; text-transform: uppercase; }
.hero .eyebrow { color: var(--accent); display: flex; align-items: center; gap: 10px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
h1 { font-size: clamp(3.4rem, 6.8vw, 6.4rem); margin-block: 20px 22px; letter-spacing: -.034em; }
.hero h1 em { color: var(--accent); }
.hero .intro { color: #dbeafa; }
.intro { color: #dbeafa; max-width: 400px; font-size: clamp(1.04rem, 1.5vw, 1.22rem); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; color: var(--deep); background: var(--accent); text-decoration: none; font-weight: 700; font-size: .9rem; border-radius: 3px; padding: 13px 17px; }
.button:hover { background: #deecd6; }
.hero .button { margin-top: 30px; }
.compass { position: absolute; right: 0; top: 36px; display: grid; text-align: center; font-size: 1.25rem; color: var(--accent); }
.compass span { font-size: .7rem; }
.map-target { position: absolute; left: 77%; top: 52%; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #c9dfc077; border-radius: 50%; color: var(--accent); font: 1.6rem var(--mono); }
.map-caption { position: absolute; right: 0; bottom: 24px; color: #dbeafa; display: flex; align-items: center; gap: 10px; font-size: .64rem; }
.scale { display: inline-block; width: 33px; height: 7px; border: 1px solid; border-top: 0; }
.work, .contact { padding-block: 80px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 29px; }
.section-heading > p { max-width: 330px; padding-bottom: 3px; }
.section-heading .eyebrow, .services .eyebrow, .contact .eyebrow { margin-bottom: 11px; }
h2 { font-size: clamp(2.45rem, 4.6vw, 4.5rem); letter-spacing: -.025em; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 16px; background: #ffffff; }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: inherit; }
.card-image { overflow: hidden; border-radius: 15px 15px 0 0; background: #e1edf7; aspect-ratio: 1.73; border-bottom: 1px solid var(--line); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card-link:hover img { transform: scale(1.035); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.card .eyebrow { color: var(--muted); margin-bottom: 7px; }
h3 { font-size: 1.22rem; line-height: 1.2; }
.card-body > p:not(.eyebrow) { margin: 10px 0 19px; color: var(--muted); font-size: .93rem; }
.card-action { display: flex; justify-content: space-between; margin-top: auto; border-top: 1px solid var(--line); padding-top: 12px; font-weight: 700; font-size: .88rem; }
.card-link:hover .card-action { text-decoration: underline; }
.services { background: #e8f2fa; padding-block: 78px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.contact .button { flex: none; }
.footer-row { min-height: 88px; }
.case-hero { background: var(--deep); color: var(--paper); padding-block: 52px 68px; }
.case-hero h1 { max-width: 1030px; font-size: clamp(2.9rem, 6.2vw, 5.8rem); }
.case-hero .eyebrow { margin-top: 36px; color: var(--accent); }
.back { text-decoration: none; }
.back:hover { text-decoration: underline; }
.case-hero .intro { max-width: 730px; }
.case-content { padding-block: 45px 65px; }
.case-content figure img { width: 100%; border: 1px solid var(--line); border-radius: 4px; }
figcaption { margin-top: 9px; color: var(--muted); }
.case-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin-block: 45px; }
.case-columns h2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); margin-bottom: 12px; }
.case-columns ul { padding-left: 1.25em; margin-block: 0; }
.case-columns li + li { margin-top: 6px; }
.case-extra { max-width: 850px; }
.case-next { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; margin-top: 40px; border-top: 1px solid var(--line); }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero-inner { min-height: 510px; }
  .project-grid { gap: 12px; }
  .card-body { padding: 15px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  html { scroll-padding-top: 78px; }
  .nav-row { min-height: 65px; flex-wrap: wrap; }
  .js .menu { display: block; }
  nav { flex-basis: 100%; gap: 13px; flex-wrap: wrap; padding: 8px 0 14px; }
  .js nav { display: none; }
  .js nav.is-open { display: flex; }
  nav a { font-size: .85rem; }
  .nav-contact { padding: 5px 8px; }
  .hero-inner { min-height: 485px; padding-block: 66px; }
  .hero .eyebrow { font-size: .62rem; }
  h1 { font-size: clamp(2.25rem, 9.4vw, 4.5rem); }
  .compass { top: 12px; }
  .map-target { display: none; }
  .work, .services, .contact { padding-block: 52px; }
  .section-heading, .contact { display: grid; gap: 15px; }
  .contact .button { justify-self: start; }
  .project-grid, .service-grid, .case-columns { grid-template-columns: 1fr; gap: 23px; }
  .case-hero { padding-block: 30px 45px; }
  .case-hero h1 { font-size: clamp(2.25rem, 8.7vw, 4.4rem); }
  .case-columns { margin-block: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-image img { transition: none; }
}


.approach { background: #edf5fb; border-block: 1px solid var(--line); padding-block: 78px; }
.approach-heading { margin-bottom: 34px; }
.approach-heading > p { max-width: 360px; }
.workflow { list-style-type: none; counter-reset: workflow; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; }
.workflow > li { counter-increment: workflow; position: relative; border: 1px solid #cbdbe8; border-radius: 16px; background: #ffffff; }
.workflow > li:not(:last-child)::after { content: "→"; display: grid; place-items: center; width: 29px; height: 29px; position: absolute; z-index: 1; top: 26px; right: -27px; border-radius: 50%; background: var(--deep); color: var(--accent); font-weight: 800; }
.workflow img { width: 100%; border-radius: 15px 15px 0 0; border-bottom: 1px solid #cbdbe8; }
.workflow-copy { padding: 16px 18px 20px; }
.workflow-copy::before { content: counter(workflow, decimal-leading-zero); display: block; margin-bottom: 7px; color: var(--muted); font: 500 .75rem var(--mono); }
.workflow-copy p { color: var(--muted); margin-top: 7px; font-size: .94rem; }
.veroia-overview { margin-top: 0; }
.gallery-heading { margin-bottom: 16px; }
.gallery-heading h2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); }
.gallery-heading p { margin-top: 7px; color: var(--muted); }
.app-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-gallery-grid a { display: block; border-radius: 12px; }
.app-gallery-grid a:hover { outline: 2px solid #4d7257; outline-offset: 3px; }
.case-content .app-gallery-grid img { border-radius: 12px; }
.app-gallery-grid figcaption { display: flex; justify-content: space-between; gap: 10px; }
.case-archive { padding-top: 20px; margin-top: 28px; border-top: 1px solid var(--line); }
.case-archive summary { cursor: pointer; font-weight: 800; }
.case-archive p { margin-block: 12px; color: var(--muted); }

@media (max-width: 960px) {
  .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow > li:nth-child(2)::after { display: none; }
}
@media (max-width: 650px) {
  .approach { padding-block: 52px; }
  .workflow, .app-gallery-grid { grid-template-columns: 1fr; }
  .workflow > li:not(:last-child)::after { display: grid; content: "↓"; top: auto; right: calc(50% - 15px); bottom: -26px; }
  .case-next { flex-wrap: wrap; }
}

.hero .intro { max-width: 525px; }
.hero-secondary { display: inline-flex; gap: 8px; align-items: center; margin: 15px 0 0 20px; font-weight: 800; font-size: .9rem; text-underline-offset: 4px; }
.hero-secondary:hover { text-decoration-thickness: 2px; }
.capabilities, .enterprise-proof { padding-block: 74px; }
.capability-overview { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 12px; background: #e8f2fa; border: 1px solid var(--line); border-radius: 16px; }
.capability-overview li { grid-column: span 2; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.capability-overview li:nth-last-child(-n+2) { grid-column: span 3; }
.capability-icon { display: block; width: 52px; height: 52px; margin-bottom: 12px; padding: 8px; color: var(--deep); background: linear-gradient(145deg, #dfecd9, #f4f8f1); border: 1px solid #c9dbc5; border-radius: 13px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.capability-icon .icon-accent { fill: #bcd5b5; }
.capability-overview p { margin-top: 5px; color: var(--muted); }
.catalog-flow ol { list-style: none; padding: 0; margin: 18px 0 0; }
.catalog-flow strong { font-size: 1.04rem; }
.enterprise-proof { display: flex; justify-content: space-between; align-items: center; gap: 22px; border-bottom: 1px solid var(--line); }
.enterprise-proof h2 { margin-block: 10px; }
.enterprise-proof p:not(.eyebrow), .catalog-flow span { color: var(--muted); }
.enterprise-proof .button { flex: none; }
.implementations h1 { font-size: clamp(2.45rem, 5.4vw, 5rem); margin: 0; }
.catalog-preview { aspect-ratio: 1.73; display: grid; gap: 6px; align-content: center; padding: 14px 15%; background: #173a59; color: var(--paper); border-radius: 15px 15px 0 0; overflow: hidden; }
.catalog-preview span { font: 500 .75rem var(--mono); color: var(--accent); }
.catalog-preview div { margin: 4px 0 1px; background: var(--paper); color: var(--ink); border-radius: 5px; padding: 5px 8px; font-size: .75rem; }
.catalog-preview i { display: block; background: #5187a7; width: 84%; height: 5px; border-radius: 5px; }
.catalog-preview i:nth-child(odd) { width: 64%; }
.catalog-flow { background: #e8f2fa; border-radius: 16px; padding: clamp(20px, 4vw, 38px); }
.catalog-flow h2 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); }
.catalog-flow ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.catalog-flow li { display: grid; align-content: start; gap: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); padding: 12px; }
.catalog-flow span { font-size: .9rem; }
.source-note { margin-top: 18px; }
.noise-maps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.noise-legend { display: flex; gap: 10px 19px; flex-wrap: wrap; list-style: none; margin: 16px 0 0; padding: 0; font-size: .9rem; }
.noise-legend li { display: inline-flex; align-items: center; gap: 7px; }
.noise-legend i { display: inline-block; width: 13px; height: 13px; background: var(--swatch); border: 1px solid #142b4566; border-radius: 3px; }
@media (max-width: 650px) {
  .capabilities, .enterprise-proof { padding-block: 48px; }
  .capability-overview { grid-template-columns: 1fr; }
  .capability-overview li, .capability-overview li:nth-last-child(-n+2) { grid-column: auto; }
  .noise-maps { grid-template-columns: 1fr; gap: 20px; }
  .enterprise-proof { align-items: start; flex-direction: column; }
  .catalog-flow ol { grid-template-columns: 1fr 1fr; }
  .hero-secondary { display: flex; width: fit-content; margin-left: 0; }
}

.case-portal { margin-top: 21px; }
.property-detail { margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.property-detail .gallery-heading p:not(.eyebrow) { max-width: 730px; }
.property-detail .eyebrow { margin-bottom: 8px; }
.property-tools { margin: 20px 0 0; }
.property-tools > div { display: grid; grid-template-columns: minmax(150px, 1fr) 3fr; gap: 18px; border-top: 1px solid var(--line); padding-block: 14px; }
.property-tools dt { font-weight: 800; }
.property-tools dd { margin: 0; color: var(--muted); max-width: 800px; }
@media (max-width: 650px) {
  .property-tools > div { grid-template-columns: 1fr; gap: 5px; }
}


.contact-band { padding-block: 65px; background: #e4f1fa; }
.contact-panel { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(20px, 4vw, 45px); background: var(--paper); border: 1px solid var(--line); border-radius: 15px; }
.contact-panel h2 { margin-block: 9px; }
.contact-panel p:not(.eyebrow) { color: var(--muted); }
.contact-actions { display: grid; justify-items: start; gap: 11px; flex-shrink: 0; }
.contact-actions > a:last-child, .auth-directory a { text-underline-offset: 4px; }
.auth-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.auth-directory article { display: flex; flex-direction: column; align-items: start; padding: 20px; background: #edf5fb; border: 1px solid var(--line); border-radius: 14px; }
.auth-directory p { color: var(--muted); margin: 8px 0 13px; }
.auth-directory a { margin-top: auto; color: var(--deep); font-weight: 700; }
@media (max-width: 650px) {
  .hero::before { background: linear-gradient(90deg, #102c49fa, #102c49b0), url(assets/brand-contours.webp) 58% center / cover; }
  .contact-panel { align-items: start; flex-direction: column; }
  .auth-directory { grid-template-columns: 1fr; }
}
