:root {
  font: 16px/1.55 Arial, Helvetica, sans-serif;
  color: #162635;
  background: #e8ecf0;
  --ink: #162635;
  --muted: #46576a;
  --line: #d0dae4;
  --link: #204b83;
  --paper: #fff;
  --tint: #f0f5fa;
}
* { box-sizing: border-box; }
body, h1, h2, p, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button, select, textarea { font: inherit; }
a { color: var(--link); text-underline-offset: .17em; }
a:hover { color: #152b4e; }
:focus-visible { outline: 2px solid #2b69a7; outline-offset: 4px; }
.skip { position: absolute; top: -5rem; left: 1rem; padding: .6rem 1rem; background: white; z-index: 1; }
.skip:focus { top: 1rem; }

.site {
  display: grid;
  grid-template-columns: 183px minmax(0, 1fr);
  width: min(1160px, calc(100% - 64px));
  margin: 54px auto;
  border: 1px solid #bac8d5;
  background: var(--paper);
}
.sidebar {
  background: #f4f7fa;
  border-right: 1px solid var(--line);
  padding: 33px 19px 30px;
}
.brand { display: inline-block; margin: 0 0 27px 13px; }
.brand img { width: 94px; }
nav { display: grid; gap: 4px; }
nav a {
  display: block;
  padding: 9px 12px;
  border-left: 3px solid transparent;
  color: var(--ink);
  text-decoration: none;
}
nav a:hover { background: #eaf0f6; }
nav a[aria-current] { color: #193f73; background: #e2ebf5; border-left-color: #2b578b; font-weight: 700; }

.sheet { min-width: 0; padding: 52px clamp(28px, 5vw, 73px) 25px; }
.intro { max-width: 670px; }
h1 { font-size: clamp(2.15rem, 4.05vw, 3.4rem); line-height: 1.08; letter-spacing: -.044em; margin-bottom: 20px; }
h2 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -.018em; }
.intro > p { font-size: 1.12rem; color: var(--muted); max-width: 35rem; }
.intro > p + p { margin-top: .65rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .55rem .85rem;
  border: 1px solid var(--link);
  border-radius: 3px;
  background: var(--link);
  color: white;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.intro > .button { margin-top: 19px; }
.button:hover { color: white; background: #193b66; }
.button.secondary { background: var(--paper); color: var(--link); }
.button.secondary:hover { background: #e7eff7; }

.directory { margin-top: 39px; }
.directory h2 { margin-bottom: 12px; }
.directory ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); }
.directory li + li { border-top: 1px solid var(--line); }
.directory a {
  display: grid;
  grid-template-columns: minmax(235px, 1fr) minmax(0, 1fr) 15px;
  align-items: center;
  gap: 13px;
  padding: .68rem .9rem;
  min-height: 52px;
  text-decoration: none;
}
.directory a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  justify-self: center;
}
.directory a:hover, .directory a:focus-visible { background: var(--tint); }
.directory a:hover strong { text-decoration: underline; }
.directory a:focus-visible { outline-offset: -2px; }
.directory a span { font-size: .91rem; color: var(--muted); }

.service-list { border-top: 1px solid var(--line); margin-top: 33px; }
.service-list article {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) 1fr;
  gap: 28px;
  padding: 21px 12px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 18px;
}
.service-list article:target { background: var(--tint); }
.service-list article ul { margin: .55rem 0; padding-left: 1.15rem; }
.service-list article p, .service-list article ul { color: var(--muted); }

.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, .48fr); align-items: start; gap: 30px; }
.bio { color: var(--muted); margin-top: 20px; }
.bio p + p { margin-top: .8rem; }
.portrait { margin-top: 5px; }
.links { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin-top: 17px; }
.brief { margin-top: 31px; padding: 24px; border: 1px solid var(--line); background: var(--tint); }
.brief > p { color: var(--muted); margin-top: 7px; }
form { display: grid; gap: 12px; margin-top: 16px; }
label { display: grid; gap: 5px; font-weight: 700; }
select, textarea { width: 100%; min-width: 0; border: 1px solid #8495a5; border-radius: 2px; padding: .55rem .65rem; color: var(--ink); background: white; font-weight: 400; }
textarea { min-height: 105px; resize: vertical; }
form .button { justify-self: start; }
.fine, output { font-size: .87rem; color: var(--muted); }
output:empty { display: none; }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .35rem 1rem;
  margin-top: 38px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .site { margin: 28px auto; width: calc(100% - 36px); grid-template-columns: 145px minmax(0, 1fr); }
  .sidebar { padding: 22px 12px; }
  .brand img { width: 78px; }
  .sheet { padding-top: 34px; }
  .directory a { grid-template-columns: minmax(180px, 1fr) minmax(0, 1fr) 15px; }
}
@media (max-width: 680px) {
  .site { grid-template-columns: minmax(0, 1fr); width: calc(100% - 24px); margin: 12px auto; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 12px; display: flex; gap: 12px; align-items: center; }
  .brand { margin: 0; flex-shrink: 0; }
  .brand img { width: 51px; }
  nav { display: flex; flex-wrap: wrap; gap: 0; }
  nav a { padding: .48rem .52rem; font-size: .9rem; border-left: 0; }
  nav a[aria-current] { box-shadow: inset 0 -2px #2b578b; }
  .sheet { padding: 27px 17px 18px; }
  h1 { margin-bottom: 13px; }
  .intro > p { font-size: 1.02rem; }
  .directory { margin-top: 29px; }
  .directory a { grid-template-columns: minmax(0, 1fr) 15px; gap: 2px 10px; }
  .directory a span { grid-row: 2; }
  .directory a::after { grid-column: 2; grid-row: 1 / span 2; }
  .service-list article { grid-template-columns: 1fr; gap: 8px; }
  .about { grid-template-columns: 1fr; gap: 18px; }
  .portrait { width: min(100%, 245px); }
  .brief { padding: 15px; }
  .footer { margin-top: 28px; }
}

/* Dark studio layout */
:root { background:#0c1721; color:#e8f0f5; --ink:#e8f0f5; --muted:#a9bac7; --line:#304553; --link:#a8d8f0; --paper:#172837; --tint:#213b4d; }
body { background:radial-gradient(ellipse at 90% 10%,#20445b66,transparent 55%),#0c1721; }
.site { width:min(1320px,calc(100% - 64px)); margin:30px auto; grid-template-columns:155px minmax(0,1fr); border:0; background:transparent; }
.sidebar { background:transparent; border-right:1px solid #345065; padding:26px 20px 30px 0; }
.brand { margin:0 0 45px; }
.brand img { width:106px; border:1px solid #345065; border-radius:14px; }
nav { position:sticky; top:28px; gap:10px; }
nav a { color:#9fb5c5; border:0; border-radius:7px; transition:background .25s,color .25s,transform .25s; }
nav a:hover { background:#213b4d; color:white; transform:translateX(4px); }
nav a[aria-current] { color:#dff5ff; background:#254257; box-shadow:inset 3px 0 #a8d8f0; }
.sheet { padding:45px 0 20px 55px; }
h1 { font-size:clamp(2.5rem,5.1vw,4.7rem); font-weight:600; letter-spacing:-.05em; max-width:820px; line-height:1.04; }
h2 { font-weight:600; }
.intro { max-width:850px; }
.intro>p { max-width:600px; line-height:1.7; }
.button { background:#b6dded; color:#102534; border:1px solid #b6dded; border-radius:7px; padding:12px 20px; box-shadow:0 0 0 0 #b6dded00; transition:transform .25s,box-shadow .25s,background .25s; }
.button:hover { color:#102534; background:#dcf4ff; transform:translateY(-3px); box-shadow:0 8px 30px #82c5ea30; }
.intro>.button { margin-top:26px; }
.directory { margin-top:64px; }
.directory h2 { font-size:1.4rem; margin-bottom:20px; }
.directory ul { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; border:0; }
.directory li { grid-column:span 2; border:0!important; min-width:0; }
.directory li:nth-child(-n+2) { grid-column:span 3; }
.directory a { position:relative; overflow:hidden; display:flex; flex-direction:column; align-items:start; justify-content:end; min-height:190px; padding:25px; border:1px solid #36556b; border-radius:13px; background:linear-gradient(145deg,#203b4e,#152735); transition:transform .3s,border-color .3s,box-shadow .3s; }
.directory li:nth-child(2) a { background:linear-gradient(145deg,#244b62,#192d3e); }
.directory a strong { position:relative; z-index:1; font-size:1.17rem; line-height:1.25; max-width:240px; color:#e8f5fc; }
.directory a span { position:relative; z-index:1; margin-top:9px; max-width:270px; color:#a8c1d0; font-size:.9rem; }
.directory a::before { content:""; position:absolute; width:170px; height:170px; right:-48px; top:-83px; border:1px solid #7cb5d866; border-radius:32px; transform:rotate(28deg); box-shadow:0 0 0 22px #76b7dd0a,0 0 0 44px #76b7dd06; transition:transform .6s; }
.directory a::after { position:absolute; top:25px; right:26px; border-color:#accfe3; transition:transform .3s; }
.directory a:hover { transform:translateY(-5px); border-color:#83b9d5; background:#244459; box-shadow:0 16px 35px #0004; }
.directory a:hover strong { text-decoration:none; }
.directory a:hover::before { transform:rotate(72deg) scale(1.12); }
.directory a:hover::after { transform:translate(3px,-3px) rotate(-45deg); }
.service-list article { padding:32px 20px; border-radius:10px; transition:background .25s; }
.service-list article:hover { background:#1b3345; }
.service-list h2 { font-size:1.65rem; }
a:hover { color:#e3f6ff; }
.about { grid-template-columns:minmax(0,1fr) minmax(180px,.55fr); }
.about h1 { font-size:clamp(2.6rem,4vw,4rem); }
.portrait { border:1px solid #476277; padding:9px; border-radius:15px; background:#213b4d; }
.portrait img { border-radius:7px; }
.bio { line-height:1.75; }
.brief { background:#162c3c; border-color:#36556b; border-radius:13px; padding:30px; }
select,textarea { background:#0e2130; border-color:#496579; color:#e3f1fa; border-radius:6px; }
.button.secondary { background:#badfee; color:#132838; }
.button.secondary:hover { background:#e2f6ff; }
.footer { margin-top:55px; padding-top:22px; border-color:#304553; }
.scroll-meter { position:fixed; top:0; left:0; width:100%; height:3px; z-index:20; transform-origin:left; transform:scaleX(0); background:#a8d8f0; pointer-events:none; }
.reveal { opacity:0; transform:translateY(22px); transition:opacity .65s,transform .65s; }
.reveal.visible { opacity:1; transform:translateY(0); }
@media(max-width:1000px) { .sheet{padding-left:32px}.directory li{grid-column:span 3}.directory li:last-child{grid-column:span 6}.directory a{min-height:170px} }
@media(max-width:680px) {
.site{width:calc(100% - 30px);margin:15px auto;grid-template-columns:1fr}
.sidebar{border-right:0;border-bottom:1px solid #345065;padding:0 0 15px;justify-content:space-between}
.brand{margin:0}.brand img{width:62px;border-radius:8px}nav{position:static;gap:2px}nav a:hover{transform:none}
.sheet{padding:30px 0 20px}.directory{margin-top:40px}.directory ul{gap:11px}.directory li{grid-column:span 6!important}.directory a{min-height:145px}
.about{grid-template-columns:1fr}.portrait{width:245px}.brief{padding:20px}h1{font-size:2.65rem}
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}.reveal{opacity:1;transform:none}.directory a:hover,.button:hover,nav a:hover{transform:none} }
.directory li:nth-child(2) a::before { border-radius:50%; }
.directory li:nth-child(3) a::before { border-radius:0; width:140px; }
.directory li:nth-child(4) a::before { border-radius:50% 12px 50% 12px; }
.directory li:nth-child(5) a::before { width:110px; height:200px; border-radius:10px; }
.directory a { background-image:radial-gradient(220px circle at var(--pointer-x,80%) var(--pointer-y,0%),#6bb0d323,transparent 85%),linear-gradient(145deg,#203b4e,#152735); }

/* Shared atmosphere and page-specific components. */
body { isolation:isolate; }
.ambient { position:fixed; inset:0; z-index:-1; overflow:hidden; pointer-events:none; background-image:linear-gradient(#a8d8f004 1px,transparent 1px),linear-gradient(90deg,#a8d8f004 1px,transparent 1px); background-size:90px 90px; }
.ambient span { position:absolute; width:65vw; height:65vw; border-radius:50%; background:radial-gradient(circle,#38739b20,transparent 65%); top:-35%; right:-25%; animation:ambient-drift 32s ease-in-out infinite alternate; }
.ambient span+span { top:auto; bottom:-50%; left:-20%; background:radial-gradient(circle,#347c9020,transparent 65%); animation-delay:-16s; animation-duration:39s; }
@keyframes ambient-drift { to{transform:translate(-10vw,12vh) scale(1.15)} }
.service-list { display:grid; grid-template-columns:1fr 1fr; gap:22px; border:0; margin-top:44px; }
.service-list article.capability { position:relative; display:flex; flex-direction:column; gap:20px; padding:28px; min-width:0; border:1px solid #37566c; border-radius:15px; overflow:hidden; background:radial-gradient(320px circle at var(--pointer-x,100%) var(--pointer-y,0%),#5495be20,transparent 85%),#152b3b; transition:transform .35s,border-color .35s,box-shadow .35s,opacity .65s; }
.service-list article.capability:last-child { grid-column:1/-1; display:grid; grid-template-columns:110px .8fr 1.3fr; align-items:center; }
.service-list article.capability:hover { transform:translateY(-5px); border-color:#85b5d0; box-shadow:0 18px 40px #0003; }
.service-list article.capability:target { border-color:#b6dded; box-shadow:0 0 0 2px #b6dded25; }
.service-art { width:96px; height:96px; padding:10px; border:1px solid #355972; border-radius:20px 6px 20px 6px; background:#213e5266; transition:border-radius .6s,background .4s; }
.service-art svg { width:100%; height:100%; fill:none; stroke:#a9d8f1; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; transition:transform .6s; }
.capability:hover .service-art { border-radius:6px 20px 6px 20px; background:#2b516a; }
.capability:hover .service-art svg { transform:scale(1.08); }
.capability .trace { stroke-dasharray:80; stroke-dashoffset:0; }
.capability:hover .trace { animation:draw-trace 1s ease both; }
@keyframes draw-trace { from{stroke-dashoffset:80} }
.service-list h2 { font-size:1.6rem; max-width:360px; }
.capability>div:last-child { display:flex; flex-direction:column; flex:1; }
.service-list article ul { list-style:none; padding:0; margin:18px 0 24px; }
.service-list article li { padding:8px 0; border-bottom:1px solid #304b5f; font-size:.94rem; }
.service-list article a { display:inline-flex; align-self:start; margin-top:auto; padding:9px 14px; border:1px solid #5b829b; border-radius:6px; text-decoration:none; transition:background .25s; }
.service-list article a:hover { background:#2c5168; }
.founder-photo { position:sticky; top:30px; transform:rotate(1.5deg); }
.founder-photo figcaption { padding:15px 7px 8px; font-weight:600; }
.founder-photo figcaption span { display:block; font-size:.85rem; font-weight:400; color:var(--muted); margin-top:3px; }
.biography-links a { padding:10px 14px; border:1px solid #45677f; border-radius:6px; text-decoration:none; background:#1b3447; }
.background-notes { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:42px; }
.background-notes>div { padding:22px; border-top:2px solid #709eb7; background:linear-gradient(#25435788,#152c3a55); border-radius:0 0 10px 10px; }
.background-notes h2 { font-size:1.08rem; margin-bottom:12px; }
.background-notes p { color:var(--muted); font-size:.92rem; }
.contact-layout { display:grid; grid-template-columns:1.2fr .8fr; gap:35px; align-items:center; }
.contact-note { padding:25px; border:1px solid #395970; border-left:3px solid #96c5df; background:#1c354988; border-radius:0 12px 12px 0; }
.contact-note h2 { font-size:1.1rem; }
.contact-note ul { padding-left:18px; color:#b9ccda; margin:14px 0; }
.contact-note li { padding:5px 0; }
.contact-note p { font-size:.9rem; color:var(--muted); }
.brief { position:relative; max-width:850px; border-top:3px solid #709eb7; margin-top:42px; background:linear-gradient(120deg,#1d384b,#132635); }
textarea:focus,select:focus { border-color:#b6dded; box-shadow:0 0 0 3px #b6dded15; }
.directory a:hover { background-image:radial-gradient(220px circle at var(--pointer-x,80%) var(--pointer-y,0%),#6bb0d333,transparent 85%),linear-gradient(145deg,#244459,#182e40); }
@media(max-width:900px) { .service-list article.capability:last-child{grid-template-columns:96px 1fr}.service-list article.capability:last-child>div:last-child{grid-column:1/-1}.background-notes{grid-template-columns:1fr}.contact-layout{grid-template-columns:1fr} }
@media(max-width:680px) { .service-list{grid-template-columns:1fr;gap:16px}.service-list article.capability{padding:23px}.service-list article.capability:last-child{display:flex}.founder-photo{position:static;transform:none}.contact-layout{gap:24px}.background-notes{margin-top:28px} }
@media(prefers-reduced-motion:reduce) { .ambient span{animation:none}.service-list article.capability:hover,.capability:hover .service-art svg{transform:none}.founder-photo{transform:none} }

.credentials { display:grid; grid-template-columns:.9fr 1.1fr; gap:25px; margin-top:42px; }
.credentials section { padding:28px; border:1px solid #3b5c72; background:linear-gradient(145deg,#203d50bb,#142b3bee); border-radius:13px; }
.credentials h2 { font-size:1.5rem; margin-bottom:22px; }
.credentials ul { margin:0; padding-left:20px; }
.credentials li { padding:0 0 20px 5px; }
.credentials li:last-child { padding-bottom:0; }
.credentials li::marker { color:#a8d8f0; }
.credentials strong { display:block; font-size:1rem; line-height:1.45; color:#e3f2fb; }
.credentials span { display:block; color:#a9c2d3; font-size:.9rem; margin-top:5px; line-height:1.5; }
.recognition ul { list-style:none; padding:0; }
.recognition li { padding:0; border-bottom:1px solid #355065; }
.recognition li:last-child { border-bottom:0; }
.recognition a { display:block; padding:14px 0; text-decoration:none; transition:transform .2s; }
.recognition li:first-child a { padding-top:0; }
.recognition a:hover { transform:translateX(4px); }
.recognition a:hover strong { color:#b6e3fa; }
.project-examples { margin-top:60px; border:1px solid #42647c; border-radius:15px; padding:30px; background:linear-gradient(135deg,#203c50,#122839); }
.examples-heading h2,.project-steps>h2 { font-size:1.65rem; }
.examples-heading p { color:var(--muted); margin-top:8px; }
.example-choices { display:flex; flex-wrap:wrap; gap:9px; margin:24px 0; }
.example-choices button { color:#b9d1e0; background:#142b3d; border:1px solid #476b84; border-radius:7px; padding:11px 15px; cursor:pointer; transition:background .25s,color .25s; }
.example-choices button:hover { background:#31536c; }
.example-choices button[aria-pressed=true] { background:#b6dded; color:#102534; border-color:#b6dded; }
.example-output { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.example-output>div { border-radius:9px; padding:23px; background:#0f2231; border:1px solid #304d63; }
.example-output .example-after { background:#214357; border-color:#5d89a4; }
.example-output h3 { font-size:1rem; margin:0 0 12px; color:#e4f3fc; }
.example-output p { color:#b9cedd; min-height:100px; }
.example-output a { display:inline-block; margin-top:16px; font-size:.94rem; }
.example-note { font-size:.8rem; color:#a1b7c7; margin-top:18px; }
.project-steps { margin-top:48px; }
.project-steps ol { list-style:none; display:grid; grid-template-columns:repeat(3,1fr); gap:23px; padding:0; margin:23px 0; counter-reset:steps; }
.project-steps li { counter-increment:steps; border-top:1px solid #52768f; padding-top:19px; }
.project-steps li::before { content:counter(steps); display:inline-grid; place-items:center; width:27px; height:27px; background:#274b62; border-radius:50%; color:#c7e9fa; font-size:.85rem; }
.project-steps h3 { font-size:1.05rem; margin:14px 0 9px; }
.project-steps p { font-size:.94rem; color:var(--muted); }
@media(max-width:850px) { .credentials{grid-template-columns:1fr}.project-steps ol{grid-template-columns:1fr}.example-output p{min-height:0} }
@media(max-width:680px) { .example-output{grid-template-columns:1fr}.project-examples,.credentials section{padding:21px}.example-choices{flex-direction:column}.example-choices button{text-align:left} }
/* Demo-led discovery */
.hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:27px}.hero-actions>a:not(.button){font-size:.95rem}.demo-directory>p{color:var(--muted);margin-bottom:22px}.demo-directory .demo-card-visual{margin:0 0 24px;font-size:1.6rem;color:#9cd2ec;letter-spacing:.03em;min-height:42px}.demo-directory a{min-height:255px}.demo-directory .demo-card-service{font-size:.75rem;color:#8eb3ca;margin-top:20px}.all-services{display:inline-block!important;min-height:0!important;padding:12px 0!important;background:none!important;border:0!important;margin-top:14px}.all-services::before,.all-services::after{display:none}.service-actions{display:flex;gap:10px;flex-wrap:wrap}.service-list .service-actions a{font-size:.85rem;margin-top:0}.service-list .service-actions a:first-child{background:#afd7e8;color:#102938}.service-list .service-actions a:first-child:hover{background:#d2effb}

.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.contact-fields input{width:100%;min-width:0;font:inherit;background:#0e2130;border:1px solid #496579;color:#e3f1fa;border-radius:6px;padding:.65rem}.contact-fields input:focus{border-color:#b6dded}.form-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}@media(max-width:680px){.contact-fields{grid-template-columns:1fr}}
