:root {
  color-scheme: light;
  --paper: #fff;
  --ink: #141414;
  --muted: #585858;
  --line: #dedede;
  --soft: #f5f5f5;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
button, select, textarea, input { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; }
h2 { font-size: clamp(2.15rem, 4.25vw, 4.1rem); }
h3 { font-size: clamp(1.37rem, 2vw, 1.75rem); }

.shell { max-width: 1344px; width: calc(100% - 112px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 7vw, 7rem); }
.skip { position: absolute; top: .65rem; left: .65rem; z-index: 3; background: white; padding: .8rem; transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--line); }
.header-layout { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 80px; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; gap: .75rem; align-items: center; width: fit-content; font-weight: 750; font-size: 1.2rem; letter-spacing: .11em; text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 29px; height: 29px; background: currentColor; }
.brand-mark::after { content: ''; width: 14px; height: 14px; border: 2px solid var(--brand-cut, white); border-right-color: transparent; transform: rotate(-45deg); }
.navigation, .header-actions, .language, .actions { display: flex; align-items: center; }
.navigation { gap: clamp(.85rem, 2vw, 2rem); }
.navigation a, footer a { text-decoration: none; }
.navigation a, .nav-services summary { font-size: .94rem; font-weight: 600; }
.navigation > a { white-space: nowrap; }
.navigation a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.navigation a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-services { position: relative; }
.nav-services summary { display: flex; align-items: center; gap: .55rem; cursor: pointer; list-style: none; }
.nav-services summary::-webkit-details-marker { display: none; }
.nav-services summary::after { content: ''; width: .43rem; height: .43rem; border: solid; border-width: 0 1px 1px 0; rotate: 45deg; margin-top: -.25rem; }
.nav-services[open] summary::after { rotate: 225deg; margin-top: .2rem; }
.nav-services ul { position: absolute; z-index: 2; inset: calc(100% + .8rem) auto auto -.8rem; width: min(17rem, calc(100vw - 3rem)); max-height: 65vh; overflow-y: auto; margin: 0; padding: .35rem; list-style: none; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 .75rem 2rem #14141418; }
.nav-services li:first-child { border-bottom: 1px solid var(--line); }
.nav-services li a { display: block; padding: .55rem .65rem; }
.nav-services li a:hover, .nav-services li a[aria-current="page"] { background: var(--soft); }
.header-actions { justify-self: end; gap: 1.1rem; }
.language { gap: .1rem; border: 1px solid var(--line); padding: 3px; }
.language a { padding: .32rem .5rem; text-decoration: none; font-size: .82rem; font-weight: 680; }
.language a[aria-current], .language a:hover { background: var(--soft); }
.language a[aria-current] { text-decoration: underline; text-underline-offset: 3px; }
.actions { gap: .75rem; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; width: fit-content; min-height: 47px; padding: .62rem 1rem; border: 1px solid transparent; text-decoration: none; font-weight: 650; font-size: .94rem; cursor: pointer; }
.header-contact { min-height: 39px; }
.button-dark { background: var(--ink); color: white; }
.button-dark:hover { background: #383838; }
.button-dark:focus-visible { outline-color: var(--ink); }
.button-light { background: white; color: var(--ink); }
.button-light:hover { background: #e8e8e8; }
.button-light:focus-visible { outline-color: white; }
.button-outline { border-color: #9c9c9c; background: transparent; color: inherit; }
.button-outline:hover { background: #ececec; }

.hero { display: grid; grid-template-columns: 1.18fr 1fr; align-items: stretch; min-height: 520px; }
.hero-copy { align-self: center; padding: 4.5rem 1.8rem 4.8rem 0; }
.eyebrow { font-size: .83rem; font-weight: 680; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.7rem; }
h1 { font-size: clamp(2.8rem, 5.55vw, 5.8rem); font-weight: 720; line-height: .99; letter-spacing: -.075em; }
h1 span { display: block; }
.hero-intro { max-width: 32rem; margin-block: 1.6rem 1.8rem; font-size: clamp(1.05rem, 1.55vw, 1.22rem); color: var(--muted); }
.hero-image { position: relative; overflow: hidden; min-height: 100%; background: #171717; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 50%; filter: grayscale(1); }

.service-section { background: var(--soft); border-block: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: 2.2rem; }
.section-heading p { max-width: 25rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.service { padding: clamp(1.35rem, 3vw, 2.5rem); background: var(--paper); min-width: 0; }
.service-copy p { min-height: 3.1em; margin-block: .85rem 1rem; color: var(--muted); }
.service-featured { grid-column: span 2; display: grid; grid-template-columns: 1.3fr 1fr; align-items: start; gap: 1rem 2rem; }
.service-featured h3 { font-size: clamp(1.6rem, 3vw, 2.45rem); }
.service-featured .service-copy p { min-height: 0; max-width: 34rem; margin-bottom: 0; }
.service-featured .service-actions { align-self: center; }
.service-link { display: inline-block; font-weight: 650; text-underline-offset: .2em; margin: .35rem 0 .8rem; }
.service details { border-top: 1px solid var(--line); padding-top: .7rem; }
.service summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: .5rem; cursor: pointer; font-size: .93rem; font-weight: 650; }
.service summary::-webkit-details-marker { display: none; }
.service summary::after { content: ''; width: .56rem; height: .56rem; border: solid var(--ink); border-width: 0 1px 1px 0; rotate: 45deg; margin-right: 3px; }
.service details[open] > summary::after { rotate: 225deg; }
.service details ul { padding-inline-start: 1.1rem; margin-block: .8rem; }
.service details li { margin-block: .4rem; }
.service details a { font-weight: 650; text-underline-offset: .2em; }
.service-icon { display: block; width: 31px; height: 31px; margin-bottom: 1.45rem; position: relative; }
.service-icon::before, .service-icon::after, .service-icon i { content: ''; position: absolute; display: block; }
.monitor::before { inset: 2px 1px 9px; border: 1.5px solid; }
.monitor::after { inset: auto 8px 3px; border-top: 1.5px solid; }
.monitor i { left: 50%; top: 21px; height: 7px; border-left: 1.5px solid; }
.network i, .network::before, .network::after { width: 10px; height: 10px; border: 1.5px solid; }
.network::before { left: 10px; top: 1px; }
.network::after { right: 0; bottom: 1px; }
.network i { left: 0; bottom: 1px; }
.network { background: linear-gradient(var(--ink),var(--ink)) center 16px / 22px 1px no-repeat, linear-gradient(var(--ink),var(--ink)) center 10px / 1px 7px no-repeat; }
.shield::before { inset: 1px 4px; border: 1.5px solid; border-radius: 0 0 48% 48%; }
.shield::after { width: 9px; height: 5px; inset: 10px auto auto 11px; border: solid; border-width: 0 0 1.5px 1.5px; rotate: -45deg; }
.puzzle::before, .puzzle::after { width: 17px; height: 17px; border: 1.5px solid; background: white; }
.puzzle::before { top: 1px; left: 1px; }
.puzzle::after { bottom: 1px; right: 1px; }
.workflow::before, .workflow::after, .workflow i { width: 9px; height: 9px; border: 1.5px solid; border-radius: 50%; background: white; }
.workflow::before { left: 1px; top: 1px; }
.workflow::after { right: 1px; top: 1px; }
.workflow i { right: 1px; bottom: 1px; }
.workflow { background: linear-gradient(var(--ink),var(--ink)) center 5px / 22px 1px no-repeat, linear-gradient(var(--ink),var(--ink)) 25px center / 1px 22px no-repeat; }
.server::before, .server::after { inset: 2px 1px auto; height: 10px; border: 1.5px solid; background: radial-gradient(circle, var(--ink) 1px, transparent 2px) 4px center / 5px 5px no-repeat; }
.server::after { top: 17px; }
.cloud::before { inset: 12px 0 3px; border: 1.5px solid; border-radius: 12px 10px 7px 7px; }
.cloud::after { top: 4px; left: 7px; width: 15px; height: 12px; border: 1.5px solid; border-bottom: 0; border-radius: 12px 12px 0 0; background: white; }

.service-hero { padding-block: clamp(2.5rem, 5vw, 5.5rem); background: #161616; color: white; }
.service-hero h1 { font-size: clamp(2.7rem, 5.7vw, 6rem); line-height: 1.02; letter-spacing: -.065em; }
.back-link { display: inline-block; margin-bottom: clamp(1.6rem, 3vw, 3rem); color: #d3d3d3; text-underline-offset: .26em; }
.back-link:hover { color: white; }
.service-hero-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(15rem, .9fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; }
.service-intro { color: #d3d3d3; max-width: 42rem; margin-block: 1.4rem; font-size: clamp(1rem, 1.7vw, 1.2rem); }
.deliverables { padding: clamp(1.25rem, 2.75vw, 2.3rem); border: 1px solid #636363; }
.deliverables h2 { font-size: 1.4rem; }
.deliverables ul { padding: 0; margin: 1rem 0 0; list-style: none; }
.deliverables li { padding: .75rem 0; border-top: 1px solid #565656; color: #e0e0e0; }
.deliverables li:last-child { padding-bottom: 0; }
.service-example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.service-example-grid article { background: var(--paper); padding: clamp(1.15rem, 2.5vw, 2.15rem); }
.service-example-grid p { margin-top: .9rem; color: var(--muted); }
.service-method { background: var(--soft); border-block: 1px solid var(--line); }
.service-faq { border-bottom: 1px solid var(--line); }
.service-faq details { border-top: 1px solid var(--line); }
.service-faq details:last-child { border-bottom: 1px solid var(--line); }
.service-faq summary { padding: .9rem 0; font-weight: 650; cursor: pointer; }
.service-faq details p { padding-bottom: 1rem; color: var(--muted); }

.examples { background: #161616; color: white; }
.examples .section-heading p, .examples-grid p { color: #c7c7c7; }
.examples-grid, .process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; }
.examples-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.examples-grid article { border-top: 1px solid #656565; padding-top: 1.3rem; }
.examples-grid p, .process-grid p { margin-top: .8rem; }
.process-grid { list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: steps; }
.process-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-grid li { border-top: 1px solid var(--line); padding-top: 1.2rem; counter-increment: steps; }
.process-grid h3::before { content: counter(steps) '. '; font-size: .8em; margin-right: .4rem; color: var(--muted); }
.process-grid p { color: var(--muted); }
.about { background: var(--soft); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: 2rem 5rem; }
.about-copy { font-size: 1.16rem; }
.about-copy p + p { margin-top: 1rem; }
.expertise { display: flex; gap: .5rem; flex-wrap: wrap; padding: 0; margin: 1.4rem 0 0; list-style: none; }
.expertise li { padding: .32rem .7rem; border: 1px solid #c9c9c9; font-size: .88rem; }
.contact p { margin-top: .9rem; color: var(--muted); }
.contact-note { font-size: .9rem; }
.contact-email { display: inline-block; margin-top: 1rem; font-weight: 650; overflow-wrap: anywhere; }
form { display: grid; gap: 1rem; min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: .4rem; align-content: start; font-weight: 630; font-size: .92rem; }
input, textarea, select { width: 100%; min-width: 0; background-color: white; color: var(--ink); border: 1px solid #939393; border-radius: 0; padding: .65rem .75rem; font-size: 1rem; font-weight: 400; }
textarea { resize: vertical; }
select { appearance: none; padding-right: 2rem; background: linear-gradient(45deg, transparent 50%, #222 50%) calc(100% - 17px) 50% / 5px 5px no-repeat, linear-gradient(135deg, #222 50%, transparent 50%) calc(100% - 12px) 50% / 5px 5px no-repeat; }
.draft { display: grid; gap: .8rem; }
.contact p.status { margin: 0; font-size: .95rem; }
footer { background: #161616; color: white; --brand-cut: #161616; }
.footer-layout { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 2rem; }
.footer-layout p { color: #c7c7c7; font-size: .93rem; }

@media (max-width: 1050px) {
  .shell { width: calc(100% - 64px); }
  .hero { min-height: 450px; }
}
@media (max-width: 950px) {
  .header-layout { grid-template-columns: 1fr auto; gap: .65rem 1rem; padding-block: .8rem .7rem; }
  .navigation { grid-row: 2; grid-column: 1 / -1; gap: .55rem 1.15rem; flex-wrap: wrap; }
  .header-actions { grid-row: 1; grid-column: 2; gap: .55rem; }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 36px); }
  .header-contact { display: none; }
  .hero { display: block; padding-bottom: 1.15rem; }
  .hero-copy { padding: 3.3rem 0 2.2rem; }
  h1 { font-size: clamp(2.7rem, 9.5vw, 4.1rem); }
  .hero-intro { margin-block: 1.1rem 1.4rem; }
  .eyebrow { margin-bottom: 1rem; }
  .hero-image { min-height: clamp(230px, 53vw, 385px); }
  .section-heading { display: grid; gap: .75rem; margin-bottom: 1.4rem; }
  .service-grid, .service-example-grid, .process-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-copy p { min-height: 0; }
  .service-featured { grid-column: auto; grid-template-columns: minmax(0, 1fr); }
  .service-hero-layout { grid-template-columns: minmax(0, 1fr); }
  .examples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .service-grid, .service-example-grid, .examples-grid, .process-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
}
