:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #162b41;
  --muted: #62717d;
  --line: #dee3e7;
  --dark: #162b41;
  --cyan: #2ccbe4;
  --heading: 'Segoe UI', Arial, sans-serif;
  --body: 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 var(--body); }
[hidden] { display: none !important; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #007d94; outline-offset: 4px; }
section[id] { scroll-margin-top: 1.75rem; }
.wrap { width: min(100% - 5rem, 79rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 2; top: .75rem; left: .75rem; padding: .65rem 1rem; background: var(--cyan); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5.5rem; border-bottom: 1px solid var(--line); }
.brand { display: block; flex: none; padding-block: .5rem; width: 22.5rem; }
.header nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.2rem); }
.header nav a { font-size: .95rem; font-weight: 650; text-decoration: none; }
.header nav a:hover { text-decoration: underline; text-underline-offset: .28em; }
.header nav .header-cta { padding: .5rem .9rem; border: 1px solid #62717d; }
.hero { padding-block: clamp(3rem, 7vw, 6rem); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); }
h1 { margin-bottom: 1.35rem; font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 700; line-height: .99; letter-spacing: -.045em; }
.hero-description { max-width: 37rem; margin-bottom: 1.9rem; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.2rem); }
.button { display: inline-flex; min-height: 2.85rem; justify-content: center; align-items: center; padding: .6rem 1.1rem; border: 1px solid transparent; border-radius: 0; font: 700 1rem/1.3 var(--body); text-decoration: none; cursor: pointer; }
.button-dark { background: var(--dark); color: #fff; }
.button-dark:hover { background: #0c1929; }
.button-outline { background: transparent; border-color: #62717d; color: var(--ink); }
.button-outline:hover { background: #f1f3f4; }
.services { padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3.5rem, 7vw, 6.2rem); border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem 2.5rem; margin-bottom: 2rem; }
h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 680; line-height: 1; letter-spacing: -.04em; }
.section-heading p, .project > div p { max-width: 24rem; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.service-card { min-width: 0; padding: clamp(1.15rem, 3vw, 2.35rem); background: #ffffff; }
.service-card + .service-card { border-left: 1px solid var(--line); }
h3 { margin-bottom: .5rem; font-size: 1.5rem; line-height: 1.16; letter-spacing: -.035em; }
.service-card p { margin-bottom: 0; color: var(--muted); }
.process { background: var(--dark); color: #ffffff; }
.process-layout, .project { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.25rem, 7vw, 6.5rem); }
.process-layout > div p, .project > div p { margin-top: 1.1rem; }
.process-layout > div p { max-width: 25rem; color: #f1f3f4; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid #62717d; }
.steps li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid #62717d; }
.steps li::before { content: counter(step, decimal-leading-zero); counter-increment: step; color: var(--cyan); font: .9rem/1.65 var(--body); }
.steps p { color: #f1f3f4; margin: 0; }
.briefing { display: grid; gap: .45rem; align-content: start; min-width: 0; }
.briefing label { font-weight: 700; }
.briefing label span { font-weight: 400; color: var(--muted); }
.briefing :is(input, select, textarea) { width: 100%; min-height: 2.75rem; margin-bottom: .5rem; padding: .6rem .75rem; border: 1px solid #62717d; border-radius: 0; color: var(--ink); background: #ffffff; font: inherit; }
.briefing select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, #162b41 50%), linear-gradient(135deg, #162b41 50%, transparent 50%); background-position: calc(100% - 1.05rem) 50%, calc(100% - .74rem) 50%; background-repeat: no-repeat; background-size: .32rem .32rem; }
.briefing textarea { display: block; resize: vertical; }
.briefing button { justify-self: start; }
.result { margin-top: .8rem; padding: 1rem; border: 1px solid var(--line); }
.result label { display: block; margin-bottom: .4rem; }
.result p { margin: .5rem 0 0; }
.result p:empty { display: none; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .85rem 1.5rem; padding-block: 1.35rem; }
.footer-inner p { margin: 0; color: var(--muted); }
.footer-inner a { color: var(--ink); }

@media (max-width: 62rem) {
  .wrap { width: min(100% - 3rem, 79rem); }
}
@media (max-width: 47rem) {
  .header { flex-wrap: wrap; padding-block: .5rem; }
  .wrap { width: calc(100% - 2rem); }
  .process-layout, .project { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card + .service-card { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 31rem) {
  .brand { width: 10rem; }
  .header { min-height: auto; flex-wrap: wrap; gap: .7rem; padding-block: .85rem; }
  .header nav { width: 100%; justify-content: space-between; gap: .5rem; }
  .header nav .header-cta { padding: .3rem .55rem; }
  .hero { padding-top: 2.1rem; }
  h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
